summaryrefslogtreecommitdiffstats
path: root/libexec/pppoed
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2001-07-31 15:29:50 +0000
committerbrian <brian@FreeBSD.org>2001-07-31 15:29:50 +0000
commit30c6547f476a8fb6ffb5b56b28a2e8fae4f3547a (patch)
tree655b16a8c5b1ab0e1a9002b91a53611b289d3d23 /libexec/pppoed
parent160b405b91c3562b55c42216ca9100b40bd7542e (diff)
downloadFreeBSD-src-30c6547f476a8fb6ffb5b56b28a2e8fae4f3547a.zip
FreeBSD-src-30c6547f476a8fb6ffb5b56b28a2e8fae4f3547a.tar.gz
Don't use SA_RESETHAND here. We gain nothing.
Suggested by: bde
Diffstat (limited to 'libexec/pppoed')
-rw-r--r--libexec/pppoed/pppoed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/pppoed/pppoed.c b/libexec/pppoed/pppoed.c
index 177ccf8..ce50ee4 100644
--- a/libexec/pppoed/pppoed.c
+++ b/libexec/pppoed/pppoed.c
@@ -603,7 +603,7 @@ main(int argc, char **argv)
memset(&act, '\0', sizeof act);
act.sa_handler = Farewell;
- act.sa_flags = SA_RESETHAND;
+ act.sa_flags = 0;
sigemptyset(&act.sa_mask);
sigaction(SIGHUP, &act, NULL);
sigaction(SIGINT, &act, NULL);
OpenPOWER on IntegriCloud