From 4c5c144aa0109f30872009b4cc98af5b04c2005e Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Sat, 9 Dec 1995 19:36:49 +0000 Subject: [PATCH] Back out "find itself" fix for security purist reasons from sendmail mailing list. Our /etc/rc will be fixed instead. It seems sendmail becomes more and more incompatible, f.e. Return-Receipt-To not works anymore :-( --- usr.sbin/sendmail/src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]);