src/nnn.c | 2 +- diff --git a/src/nnn.c b/src/nnn.c index 2731e13413e1e4611734eeb5b1918f39843d9c9b..2a7da5ed07b9647353ea9f9d18c69f65bd8b9334 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -832,7 +832,7 @@ } /* Fail if selection file path isn't accessible */ if (access(g_cppath, R_OK | W_OK) == -1) { - printmsg("check selection file permission"); + errno == ENOENT ? printmsg(messages[NONE_SELECTED]) : printwarn(NULL); return FALSE; }