diff --git a/usr.sbin/sendmail/src/main.c b/usr.sbin/sendmail/src/main.c index cddbc5f7f0ce..1b2b9da15023 100644 --- a/usr.sbin/sendmail/src/main.c +++ b/usr.sbin/sendmail/src/main.c @@ -1693,7 +1693,7 @@ sighup() syslog(LOG_INFO, "restarting %s on signal", SaveArgv[0]); #endif releasesignal(SIGHUP); - execvp(SaveArgv[0], (ARGV_T) SaveArgv); + execv(SaveArgv[0], (ARGV_T) SaveArgv); #ifdef LOG if (LogLevel > 0) syslog(LOG_ALERT, "could not exec %s: %m", SaveArgv[0]);