From cc3702b2e129e92eb8082a306ad3a79acc908450 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Wed, 20 Nov 2019 01:34:07 +0530 Subject: [PATCH] Fix lint error --- src/nnn.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/nnn.c b/src/nnn.c index 341a78e2..1023e166 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -1363,8 +1363,9 @@ static bool xmkentryp(char* path, bool dir) DPRINTF_S("open fail"); DPRINTF_S(strerror(errno)); return FALSE; - } else - close(fd); + } + + close(fd); } return TRUE;