]> granicus.if.org Git - sudo/commitdiff
If execve() fails, leave it to the plugin to print an error string.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 13 Apr 2010 11:39:06 +0000 (07:39 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 13 Apr 2010 11:39:06 +0000 (07:39 -0400)
src/script.c

index 60a850dad24a2768525e6c1e215a4b2de519595f..e36a3b564bc16e679b274075ff9f7cbea220f172 100644 (file)
@@ -835,7 +835,6 @@ script_child(const char *path, char *argv[], char *envp[], int backchannel, int
 
        /* setup tty and exec command */
        script_run(path, argv, envp, rbac);
-       warning("unable to execute %s", path); /* XXX - leave this to plugin? */
        cstat.type = CMD_ERRNO;
        cstat.val = errno;
        send(backchannel, &cstat, sizeof(cstat), 0);