From: Arun Prakash Jana Date: Thu, 16 May 2019 13:29:20 +0000 (+0530) Subject: Fix #264 X-Git-Tag: v2.5~22 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=d803521c6dce88b9e75b1ebbe7d0551674cfab59;p=nnn.git Fix #264 --- 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; }