From ff3e62eeef1535888049e152d77d6d9d65f81894 Mon Sep 17 00:00:00 2001 From: "Michael K. Johnson" Date: Tue, 28 Sep 1999 19:23:49 +0000 Subject: exit after deleting pidfile... --- src/ppp-watch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ppp-watch.c b/src/ppp-watch.c index a8345d14..2580e0ec 100644 --- a/src/ppp-watch.c +++ b/src/ppp-watch.c @@ -240,8 +240,8 @@ static void cleanExit(int exitCode) { fork_exec(1, "/sbin/netreport", "-r", NULL, NULL); detach(1, exitCode, NULL); - exit(exitCode); doPidFile(NULL); + exit(exitCode); } -- cgit v1.2.1