Move sudo_debug_execve() call into sudo_execve().

This commit is contained in:
Todd C. Miller
2016-06-09 10:48:59 -06:00
parent 12ab5b8108
commit 1ec4d9918d
2 changed files with 5 additions and 3 deletions

View File

@@ -157,8 +157,6 @@ exec_cmnd(struct command_details *details, struct command_status *cstat,
restore_signals();
if (exec_setup(details, NULL, -1) == true) {
/* headed for execve() */
sudo_debug_execve(SUDO_DEBUG_INFO, details->command,
details->argv, details->envp);
if (details->closefrom >= 0) {
int fd, maxfd;
unsigned char *debug_fds;