diff options
author | Hakan Olsson <ho@cvs.openbsd.org> | 2003-05-15 02:04:46 +0000 |
---|---|---|
committer | Hakan Olsson <ho@cvs.openbsd.org> | 2003-05-15 02:04:46 +0000 |
commit | 86211fc9040e8135ce43311b8406e2244792c484 (patch) | |
tree | afa11ca173247d40e3a457b7bdacf2738bb47371 /sbin | |
parent | eb23323264e3909068d9660840b9dab2ccf8e95e (diff) |
Proper exit of the monitor process.
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/isakmpd/monitor.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/isakmpd/monitor.c b/sbin/isakmpd/monitor.c index 41a6d3fbd63..fb6645047be 100644 --- a/sbin/isakmpd/monitor.c +++ b/sbin/isakmpd/monitor.c @@ -1,4 +1,4 @@ -/* $OpenBSD: monitor.c,v 1.2 2003/05/15 01:51:10 ho Exp $ */ +/* $OpenBSD: monitor.c,v 1.3 2003/05/15 02:04:45 ho Exp $ */ /* * Copyright (c) 2003 Håkan Olsson. All rights reserved. @@ -431,6 +431,7 @@ monitor_loop (int debugging) if (sigchlded) wait (&n); shutdown++; + break; } FD_ZERO (fds); |