From d803521c6dce88b9e75b1ebbe7d0551674cfab59 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Thu, 16 May 2019 18:59:20 +0530 Subject: [PATCH] Fix #264 --- src/nnn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }