aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDima Dorfman <dd@FreeBSD.org>2001-06-28 22:06:27 +0000
committerDima Dorfman <dd@FreeBSD.org>2001-06-28 22:06:27 +0000
commitd164fef6d71fef781ff23593808445a2aee16e9d (patch)
treeeb9d7093d1b2e8cb073eb23b7b263027c11b9b9d
parent4408e85a6d61295e8edb1958de1a27193125e920 (diff)
Notes
-rw-r--r--bin/ed/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ed/main.c b/bin/ed/main.c
index af43f39143df..bb651e562a5e 100644
--- a/bin/ed/main.c
+++ b/bin/ed/main.c
@@ -1400,7 +1400,7 @@ handle_hup(signo)
strcat(hup, "ed.hup");
write_file(hup, "w", 1, addr_last);
}
- _exit(2);
+ quit(2);
}
@@ -1409,7 +1409,7 @@ handle_int(signo)
int signo;
{
if (!sigactive)
- _exit(1);
+ quit(1);
sigflags &= ~(1 << (signo - 1));
#ifdef _POSIX_SOURCE
siglongjmp(env, -1);