aboutsummaryrefslogtreecommitdiffstats
path: root/src/ppp-watch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ppp-watch.c')
-rw-r--r--src/ppp-watch.c2
1 files changed, 1 insertions, 1 deletions
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);
}