summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/main.c
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1997-03-08 12:11:26 +0000
committerache <ache@FreeBSD.org>1997-03-08 12:11:26 +0000
commit92533e08e916bacb98b69e0272d2aab8ed2deffd (patch)
tree3ea57ee2074929b2758b6439963bfe9089aa3c73 /usr.sbin/ppp/main.c
parentc3c0632428116e1e382b74f2c67ea57be3041556 (diff)
downloadFreeBSD-src-92533e08e916bacb98b69e0272d2aab8ed2deffd.zip
FreeBSD-src-92533e08e916bacb98b69e0272d2aab8ed2deffd.tar.gz
Unpend fault signals like SIGSEGV, etc
It is too dangerous to continue with them in any case Should go into 2.2
Diffstat (limited to 'usr.sbin/ppp/main.c')
-rw-r--r--usr.sbin/ppp/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/ppp/main.c b/usr.sbin/ppp/main.c
index c95258f..b3ae332 100644
--- a/usr.sbin/ppp/main.c
+++ b/usr.sbin/ppp/main.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: main.c,v 1.33 1997/02/25 14:05:03 brian Exp $
+ * $Id: main.c,v 1.34 1997/03/08 10:04:21 ache Exp $
*
* TODO:
* o Add commands for traffic summary, version display, etc.
@@ -348,15 +348,15 @@ char **argv;
tcgetattr(0, &oldtio); /* Save original tty mode */
- pending_signal(SIGHUP, Hangup);
+ signal(SIGHUP, Hangup);
signal(SIGTERM, CloseSession);
signal(SIGINT, CloseSession);
signal(SIGQUIT, CloseSession);
#ifdef SIGSEGV
- pending_signal(SIGSEGV, Hangup);
+ signal(SIGSEGV, Hangup);
#endif
#ifdef SIGPIPE
- pending_signal(SIGPIPE, Hangup);
+ signal(SIGPIPE, Hangup);
#endif
#ifdef SIGALRM
signal(SIGALRM, SIG_IGN);
OpenPOWER on IntegriCloud