nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 67994ff4b2bb1a77ba987cf4ac0793ef13190c3a
parent 4e58ad318c61a2efe308de61213cd1f8e2ff32ab
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Sat, 14 Mar 2020 21:44:48 +0530

Check if file is accessible

Diffstat:
Msrc/nnn.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/nnn.c b/src/nnn.c @@ -5807,7 +5807,7 @@ nochange: rundir[0] = '\0'; } - if (newpath[0]) + if (newpath[0] && !access(newpath, F_OK)) xstrlcpy(lastname, xbasename(newpath), NAME_MAX+1); else if (ndents) copycurname();