From c8b6342d3c2a167dec16931815926e9e4387e7ef Mon Sep 17 00:00:00 2001 From: rsc Date: Thu, 13 Jan 2005 04:49:19 +0000 Subject: Many small edits. --- src/libthread/daemonize.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libthread/daemonize.c') diff --git a/src/libthread/daemonize.c b/src/libthread/daemonize.c index c6e00d19..4ed252e0 100644 --- a/src/libthread/daemonize.c +++ b/src/libthread/daemonize.c @@ -42,10 +42,12 @@ child(void) fprint(2, "%s: wait pid %d stopped\n", argv0, pid); return; } +#ifdef WIFCONTINUED if(WIFCONTINUED(status)){ fprint(2, "%s: wait pid %d continued\n", argv0, pid); return; } +#endif fprint(2, "%s: wait pid %d status 0x%ux\n", argv0, pid, status); _exit(99); } @@ -84,8 +86,6 @@ _threadsetupdaemonize(void) sigpid = 1; - threadlinklibrary(); - if(pipe(p) < 0) sysfatal("passer pipe: %r"); -- cgit v1.2.3