]> granicus.if.org Git - sudo/commitdiff
sudo won't bitch about EPERM now, for real
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 1 Mar 1994 21:31:30 +0000 (21:31 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 1 Mar 1994 21:31:30 +0000 (21:31 +0000)
find_path.c

index 82885122ab05efc78cac8eda2d5b7db158d9c4f4..516db417593862e377f192c5be349237bc017f69 100644 (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("");
        }