From 338b469a46ba78cf8dc7b1d54aabc544e2866e31 Mon Sep 17 00:00:00 2001 From: Moritz Jodeit Date: Mon, 2 Apr 2007 08:12:00 +0000 Subject: When setting all signals to their default handlers, start with signal 1, since there's no signal 0. ok hshoexer@ --- sbin/isakmpd/monitor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sbin/isakmpd/monitor.c') 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. */ -- cgit v1.2.3