mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 06:15:37 +00:00
sudo won't bitch about EPERM now, for real
This commit is contained in:
@@ -196,7 +196,7 @@ char *qualify(n)
|
||||
* is it a bogus path?
|
||||
*/
|
||||
if (stat(n, &statbuf)) {
|
||||
if (errno != ENOENT) {
|
||||
if (errno != ENOENT && errno != EPERM) {
|
||||
fprintf(stderr, "sudo: Can't stat %s: ", n);
|
||||
perror("");
|
||||
}
|
||||
|
Reference in New Issue
Block a user