Browse Source

Update comments and debug info

master
Arun Prakash Jana 5 years ago
parent
commit
beabe62467
No known key found for this signature in database GPG Key ID: A75979F35C080412
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/nnn.c

+ 2
- 2
src/nnn.c View File

@@ -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…
Cancel
Save