From: Todd C. Miller Date: Tue, 13 Apr 2010 11:39:06 +0000 (-0400) Subject: If execve() fails, leave it to the plugin to print an error string. X-Git-Tag: SUDO_1_8_0~726 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=40533f381eb6cd0b32d189129fbd325f65d35f3a;p=sudo If execve() fails, leave it to the plugin to print an error string. --- diff --git a/src/script.c b/src/script.c index 60a850dad..e36a3b564 100644 --- a/src/script.c +++ b/src/script.c @@ -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);