mirror of
https://github.com/jarun/nnn.git
synced 2025-01-24 09:46:38 +00:00
Fix #264
This commit is contained in:
parent
9bd136e8b0
commit
d803521c6d
|
@ -832,7 +832,7 @@ static bool cpsafe(void)
|
||||||
|
|
||||||
/* Fail if selection file path isn't accessible */
|
/* Fail if selection file path isn't accessible */
|
||||||
if (access(g_cppath, R_OK | W_OK) == -1) {
|
if (access(g_cppath, R_OK | W_OK) == -1) {
|
||||||
printmsg("check selection file permission");
|
errno == ENOENT ? printmsg(messages[NONE_SELECTED]) : printwarn(NULL);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue