aboutsummaryrefslogtreecommitdiffstats
path: root/src/ppp-watch.c
diff options
context:
space:
mode:
authorMichael K. Johnson <johnsonm@redhat.com>1999-09-28 19:23:49 +0000
committerMichael K. Johnson <johnsonm@redhat.com>1999-09-28 19:23:49 +0000
commitff3e62eeef1535888049e152d77d6d9d65f81894 (patch)
treeed7b94ec2b5391a74e385b9e6ce5b81d4c361d64 /src/ppp-watch.c
parent2e80e13e826b7ac2547352a46d95fd67d2317041 (diff)
downloadinitscripts-ff3e62eeef1535888049e152d77d6d9d65f81894.tar
initscripts-ff3e62eeef1535888049e152d77d6d9d65f81894.tar.gz
initscripts-ff3e62eeef1535888049e152d77d6d9d65f81894.tar.bz2
initscripts-ff3e62eeef1535888049e152d77d6d9d65f81894.tar.xz
initscripts-ff3e62eeef1535888049e152d77d6d9d65f81894.zip
exit after deleting pidfile...
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);
}