aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>1997-08-28 04:44:12 +0000
committerWarner Losh <imp@FreeBSD.org>1997-08-28 04:44:12 +0000
commit79b3bede52c76baed2dc5abb7a16d843babcfc0a (patch)
treea122f2bbcfffbd927188ce095eb11098165b0f0e
parent4226a712eb036806a4e7eca4d06ac11aabd22323 (diff)
downloadsrc-79b3bede52c76baed2dc5abb7a16d843babcfc0a.tar.gz
src-79b3bede52c76baed2dc5abb7a16d843babcfc0a.zip
MFC: 1.10 sendmail arg sanity
Notes
Notes: svn path=/stable/2.1/; revision=28852
-rw-r--r--usr.bin/vacation/vacation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/vacation/vacation.c b/usr.bin/vacation/vacation.c
index ae549c8bd6e7..34e990f5ba3e 100644
--- a/usr.bin/vacation/vacation.c
+++ b/usr.bin/vacation/vacation.c
@@ -397,7 +397,7 @@ sendmessage(myname)
close(pvect[0]);
close(pvect[1]);
fclose(mfp);
- execl(_PATH_SENDMAIL, "sendmail", "-f", myname, from, NULL);
+ execl(_PATH_SENDMAIL, "sendmail", "-f", myname, "--", from, NULL);
syslog(LOG_ERR, "vacation: can't exec %s: %s",
_PATH_SENDMAIL, strerror(errno));
exit(1);