mirror of
https://github.com/jarun/nnn.git
synced 2025-01-25 02:06:50 +00:00
Update comments and debug info
This commit is contained in:
parent
87d91251ae
commit
beabe62467
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue