diff options
author | Moritz Jodeit <moritz@cvs.openbsd.org> | 2007-04-02 08:12:00 +0000 |
---|---|---|
committer | Moritz Jodeit <moritz@cvs.openbsd.org> | 2007-04-02 08:12:00 +0000 |
commit | 338b469a46ba78cf8dc7b1d54aabc544e2866e31 (patch) | |
tree | 4b26d1a4a15806edd153b7e2a2f6eac07de6b89e /sbin/isakmpd/monitor.c | |
parent | 77860deedff5f444e1233bf93fa9bb347729e437 (diff) |
When setting all signals to their default handlers, start
with signal 1, since there's no signal 0.
ok hshoexer@
Diffstat (limited to 'sbin/isakmpd/monitor.c')
-rw-r--r-- | sbin/isakmpd/monitor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/isakmpd/monitor.c b/sbin/isakmpd/monitor.c index 45e062097e8..650105f2d62 100644 --- a/sbin/isakmpd/monitor.c +++ b/sbin/isakmpd/monitor.c @@ -1,4 +1,4 @@ -/* $OpenBSD: monitor.c,v 1.66 2006/07/24 11:45:44 ho Exp $ */ +/* $OpenBSD: monitor.c,v 1.67 2007/04/02 08:11:59 moritz Exp $ */ /* * Copyright (c) 2003 Håkan Olsson. All rights reserved. @@ -396,7 +396,7 @@ set_monitor_signals(void) { int n; - for (n = 0; n < _NSIG; n++) + for (n = 1; n < _NSIG; n++) signal(n, SIG_DFL); /* Forward some signals to the child. */ |