aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/nnn.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nnn.c b/src/nnn.c
index e00d0d0..6d953b8 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -3215,6 +3215,10 @@ nochange:
if (getppid() == 1)
_exit(0);
+ /* Check if CWD is deleted to avoid hang, bad idea */
+ //if (access(path, F_OK))
+ // return;
+
sel = nextsel(presel);
if (presel)
presel = 0;