summaryrefslogtreecommitdiff
path: root/sys/kern/kern_exec.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-12-04 04:31:21 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-12-04 04:31:21 +0000
commit3b5581ebc1935a473a69582a58e6bcb85b61fa79 (patch)
tree65c7d31353e5f8ce82048162f68ad6c4ee4a1946 /sys/kern/kern_exec.c
parente95061789bd91c251cf246741eeb4343474d8343 (diff)
No need to exit the process twice. exit1() can't fail.
Diffstat (limited to 'sys/kern/kern_exec.c')
-rw-r--r--sys/kern/kern_exec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c
index 43ed5c4b7c7..7df5313f811 100644
--- a/sys/kern/kern_exec.c
+++ b/sys/kern/kern_exec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_exec.c,v 1.73 2002/11/09 04:12:32 mickey Exp $ */
+/* $OpenBSD: kern_exec.c,v 1.74 2002/12/04 04:31:20 art Exp $ */
/* $NetBSD: kern_exec.c,v 1.75 1996/02/09 18:59:28 christos Exp $ */
/*-
@@ -640,7 +640,6 @@ exec_abort:
free_pack_abort:
free(pack.ep_hdr, M_EXEC);
exit1(p, W_EXITCODE(0, SIGABRT));
- exit1(p, -1);
/* NOTREACHED */
p->p_flag &= ~P_INEXEC;