commit cc3702b2e129e92eb8082a306ad3a79acc908450 parent 3a9def25d815dae7a7db658d2383004417116fb6 Author: Arun Prakash Jana <engineerarun@gmail.com> Date: Wed, 20 Nov 2019 01:34:07 +0530 Fix lint error Diffstat:
| M | src/nnn.c | | | 5 | +++-- |
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git 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;