chown
This commit is contained in:
parent
bd4024cf4d
commit
4dc1a5d86c
@ -65,7 +65,7 @@ int cntree(const char *dst) {
|
||||
if (get_stat(dst, &stat_path))
|
||||
return 1;
|
||||
|
||||
if (!S_ISDIR(stat_path.st_mode) || r_flag)
|
||||
if (!S_ISDIR(stat_path.st_mode) || !r_flag)
|
||||
return ret;
|
||||
|
||||
DIR *dir = opendir(dst);
|
||||
|
Loading…
Reference in New Issue
Block a user