diff options
author | Hakan Olsson <ho@cvs.openbsd.org> | 2004-06-20 15:03:36 +0000 |
---|---|---|
committer | Hakan Olsson <ho@cvs.openbsd.org> | 2004-06-20 15:03:36 +0000 |
commit | 163ff1f9cf6bd8f5b6797a71ec2d0f0dbff9fcde (patch) | |
tree | 45e7621e0004d1c18f71490ec8bba10e7bf785ec /sbin/isakmpd/isakmpd.c | |
parent | cd5f4f5b819ea313a836c7ae1e02682e7c332e7e (diff) |
To make debugging the unprivileged child process easier, make 'isakmpd -dd'
pause just after privsep; print the PIDs and wait for SIGCONT.
hshoexer@ ok
Diffstat (limited to 'sbin/isakmpd/isakmpd.c')
-rw-r--r-- | sbin/isakmpd/isakmpd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/isakmpd/isakmpd.c b/sbin/isakmpd/isakmpd.c index 9a6166ad676..6d0f6cf246f 100644 --- a/sbin/isakmpd/isakmpd.c +++ b/sbin/isakmpd/isakmpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: isakmpd.c,v 1.64 2004/06/14 09:55:41 ho Exp $ */ +/* $OpenBSD: isakmpd.c,v 1.65 2004/06/20 15:03:35 ho Exp $ */ /* $EOM: isakmpd.c,v 1.54 2000/10/05 09:28:22 niklas Exp $ */ /* @@ -402,7 +402,7 @@ main(int argc, char *argv[]) tzset(); #if defined (USE_PRIVSEP) - if (monitor_init()) { + if (monitor_init(debug)) { /* The parent, with privileges enters infinite monitor loop. */ monitor_loop(debug); exit(0); /* Never reached. */ |