From: Arun Prakash Jana <engineerarun@gmail.com>
Date: Tue, 4 Jun 2019 18:02:23 +0000 (+0530)
Subject: Commented check
X-Git-Tag: v2.6~121
X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=c7f83dd17992d029859aef8642fc72dcd9ade87a;p=nnn.git

Commented check
---

diff --git a/src/nnn.c b/src/nnn.c
index e00d0d0a..6d953b84 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;