summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-12-06 01:55:34 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-12-06 01:55:34 +0000
commit7f52488716fc8d6e4b0c199cc0787fbeb9441969 (patch)
tree8b3acd4c439a5b63c335fdba88a8d39f72dde9c9 /lib
parent7d36f7824f4cb7e7457eb0e9b9c00449f37ff56b (diff)
vfork w/ exit botch
Diffstat (limited to 'lib')
-rw-r--r--lib/libutil/passwd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libutil/passwd.c b/lib/libutil/passwd.c
index 8df9b382a14..a982a9449c2 100644
--- a/lib/libutil/passwd.c
+++ b/lib/libutil/passwd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: passwd.c,v 1.4 1996/06/19 12:36:01 deraadt Exp $ */
+/* $OpenBSD: passwd.c,v 1.5 1996/12/06 01:55:33 deraadt Exp $ */
/*
* Copyright (c) 1987, 1993, 1994, 1995
* The Regents of the University of California. All rights reserved.
@@ -86,7 +86,7 @@ pw_mkdb()
if (pid == 0) {
execl(_PATH_PWD_MKDB, "pwd_mkdb", "-p",
_PATH_MASTERPASSWD_LOCK, NULL);
- exit(1);
+ _exit(1);
}
pid = waitpid(pid, &pstat, 0);
if (pid == -1 || !WIFEXITED(pstat) || WEXITSTATUS(pstat) != 0)