aboutsummaryrefslogtreecommitdiffstats
path: root/src/nnn.c
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-05-16 18:59:20 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-05-22 08:48:44 +0530
commitd803521c6dce88b9e75b1ebbe7d0551674cfab59 (patch)
treea8073fb7b117495632d90dc35b8ef37098c54558 /src/nnn.c
parent9bd136e8b03dd114640bbdcccc4a58fb12144835 (diff)
downloadnnn-d803521c6dce88b9e75b1ebbe7d0551674cfab59.tar.gz
Fix #264
Diffstat (limited to 'src/nnn.c')
-rw-r--r--src/nnn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 2731e13..2a7da5e 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;
}