2
0
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:
Todd C. Miller
1994-03-01 21:31:30 +00:00
parent e28f029382
commit e179047086

View File

@@ -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("");
}