From: Arun Prakash Jana Date: Fri, 12 Jul 2019 13:07:12 +0000 (+0530) Subject: Update comments and debug info X-Git-Tag: v2.6~47 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=beabe624671fded77adc557f6f18fb0fb8115b58;p=nnn.git Update comments and debug info --- diff --git a/src/nnn.c b/src/nnn.c index bb2e2858..34543599 100644 --- 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);