mirror of
https://github.com/jarun/nnn.git
synced 2025-03-14 18:54:07 +00:00
Fix #264
This commit is contained in:
parent
9bd136e8b0
commit
d803521c6d
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue