summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/chat.c
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1997-03-08 10:04:21 +0000
committerache <ache@FreeBSD.org>1997-03-08 10:04:21 +0000
commite33ad1e9d54661d60f504fd286e0cfd3139c66cc (patch)
tree1e7df745f5739f20b01f0349e5ef14a925896aa1 /usr.sbin/ppp/chat.c
parentcd4948fc0c6ab4d141ab0f15d6771a9b5e4b4ea7 (diff)
downloadFreeBSD-src-e33ad1e9d54661d60f504fd286e0cfd3139c66cc.zip
FreeBSD-src-e33ad1e9d54661d60f504fd286e0cfd3139c66cc.tar.gz
Unpend all killing signals to shut down this thing immediately,
or it is impossible to kill it in some situations. Unpend yet one SIGARLM (see timer.c commit) Should go into 2.2
Diffstat (limited to 'usr.sbin/ppp/chat.c')
-rw-r--r--usr.sbin/ppp/chat.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/ppp/chat.c b/usr.sbin/ppp/chat.c
index a66aa18..ccc7f6a 100644
--- a/usr.sbin/ppp/chat.c
+++ b/usr.sbin/ppp/chat.c
@@ -18,7 +18,7 @@
* Columbus, OH 43221
* (614)451-1883
*
- * $Id: chat.c,v 1.16 1997/02/22 16:10:06 peter Exp $
+ * $Id: chat.c,v 1.17 1997/02/25 14:04:55 brian Exp $
*
* TODO:
* o Support more UUCP compatible control sequences.
@@ -404,9 +404,9 @@ char *command, *out;
pipe(fids);
pid = fork();
if (pid == 0) {
- pending_signal(SIGINT, SIG_DFL);
- pending_signal(SIGQUIT, SIG_DFL);
- pending_signal(SIGTERM, SIG_DFL);
+ signal(SIGINT, SIG_DFL);
+ signal(SIGQUIT, SIG_DFL);
+ signal(SIGTERM, SIG_DFL);
pending_signal(SIGHUP, SIG_DFL);
close(fids[0]);
dup2(fids[1], 1);
OpenPOWER on IntegriCloud