diff --git a/src/nnn.c b/src/nnn.c index 2731e134..2a7da5ed 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -832,7 +832,7 @@ static bool cpsafe(void) /* 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; }