-/* $OpenBSD: system.c,v 1.2 1996/06/26 05:41:31 deraadt Exp $ */
+/* $OpenBSD: system.c,v 1.3 1996/12/06 02:09:04 deraadt Exp $ */
/*-
* Copyright (c) 1988 The Regents of the University of California.
#ifndef lint
/*static char sccsid[] = "from: @(#)system.c 4.5 (Berkeley) 4/26/91";*/
-static char rcsid[] = "$OpenBSD: system.c,v 1.2 1996/06/26 05:41:31 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: system.c,v 1.3 1996/12/06 02:09:04 deraadt Exp $";
#endif /* not lint */
#include <sys/types.h>
cmdname = getenv("SHELL");
execlp(cmdname, cmdname, 0);
perror("Exec'ing new shell...\n");
- exit(1);
+ _exit(1);
} else {
execvp(argv[1], &argv[1]);
perror("Exec'ing command.\n");
- exit(1);
+ _exit(1);
}
/*NOTREACHED*/
}
-/* $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 $ */
/*
#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 */
/*
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");