nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit beabe624671fded77adc557f6f18fb0fb8115b58
parent 87d91251aeae520a27cae2e41c52811f513946de
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Fri, 12 Jul 2019 18:37:12 +0530

Update comments and debug info

Diffstat:
Msrc/nnn.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/nnn.c b/src/nnn.c @@ -3297,9 +3297,9 @@ nochange: if (getppid() == 1) _exit(0); - /* Check if CWD is deleted and find an existing parent */ + /* If CWD is deleted or moved or perms changed, find an accessible parent */ if (access(path, F_OK)) { - DPRINTF_S("dir deleted or moved"); + DPRINTF_S("directory inaccessible"); /* Save history */ xstrlcpy(lastname, xbasename(path), NAME_MAX + 1);