]> Sergey Matveev's repositories - nnn.git/commitdiff
Commented check
authorArun Prakash Jana <engineerarun@gmail.com>
Tue, 4 Jun 2019 18:02:23 +0000 (23:32 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Tue, 4 Jun 2019 18:02:23 +0000 (23:32 +0530)
src/nnn.c

index e00d0d0a42ec74a64f902ffcbf0600d0a8abf391..6d953b84572f32cac1ddf55d9a2dbe218f2ffda2 100644 (file)
--- 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;