diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-12-06 02:09:23 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-12-06 02:09:23 +0000 |
commit | a9928c2e0cd46eb74b7f0eb1ad122e4830b5e7f0 (patch) | |
tree | 9e2b0b03312b606f21b8a9ecf7ad644bf1d764ef /usr.bin/vacation/vacation.c | |
parent | 7f52488716fc8d6e4b0c199cc0787fbeb9441969 (diff) |
vfork w/ exit botch
Diffstat (limited to 'usr.bin/vacation/vacation.c')
-rw-r--r-- | usr.bin/vacation/vacation.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/vacation/vacation.c b/usr.bin/vacation/vacation.c index fe7561fa276..80c68ed35d0 100644 --- a/usr.bin/vacation/vacation.c +++ b/usr.bin/vacation/vacation.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vacation.c,v 1.2 1996/06/26 05:42:27 deraadt Exp $ */ +/* $OpenBSD: vacation.c,v 1.3 1996/12/06 02:09:22 deraadt Exp $ */ /* $NetBSD: vacation.c,v 1.7 1995/04/29 05:58:27 cgd Exp $ */ /* @@ -44,7 +44,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)vacation.c 8.2 (Berkeley) 1/26/94"; #endif -static char rcsid[] = "$OpenBSD: vacation.c,v 1.2 1996/06/26 05:42:27 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: vacation.c,v 1.3 1996/12/06 02:09:22 deraadt Exp $"; #endif /* not lint */ /* @@ -424,7 +424,7 @@ sendmessage(myname) execl(_PATH_SENDMAIL, "sendmail", "-f", myname, from, NULL); syslog(LOG_ERR, "vacation: can't exec %s: %s", _PATH_SENDMAIL, strerror(errno)); - exit(1); + _exit(1); } close(pvect[0]); sfp = fdopen(pvect[1], "w"); |