From c7f83dd17992d029859aef8642fc72dcd9ade87a Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Tue, 4 Jun 2019 23:32:23 +0530 Subject: Commented check --- src/nnn.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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; -- cgit v1.2.3-70-g09d2