Don't bail out if chmod(2) or chown(2) fails
Keep processing all the files specified.
This commit is contained in:
parent
b700d5a8ed
commit
f488547779
2
chmod.c
2
chmod.c
|
@ -77,7 +77,7 @@ chmodr(const char *path)
|
|||
break;
|
||||
}
|
||||
if(chmod(path, st.st_mode) == -1)
|
||||
eprintf("chmod %s:", path);
|
||||
weprintf("chmod %s:", path);
|
||||
if(rflag)
|
||||
recurse(path, chmodr);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user