From: Todd C. Miller Date: Tue, 1 Mar 1994 21:31:30 +0000 (+0000) Subject: sudo won't bitch about EPERM now, for real X-Git-Tag: SUDO_1_3_1~307 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e1790470865c8417d35f69a2a36c77ce7e6335ad;p=sudo sudo won't bitch about EPERM now, for real --- diff --git a/find_path.c b/find_path.c index 82885122a..516db4175 100644 --- a/find_path.c +++ b/find_path.c @@ -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(""); }