aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2000-04-03 21:39:22 +0000
committerBill Nottingham <notting@redhat.com>2000-04-03 21:39:22 +0000
commitaf08baf4bf83028912de76fa8306aae9b6b79655 (patch)
tree7cb3907cf794c742ca9f4339bc622494c858806a
parent90c145db03e8198e4daf41743ed8357c824decfe (diff)
downloadinitscripts-af08baf4bf83028912de76fa8306aae9b6b79655.tar
initscripts-af08baf4bf83028912de76fa8306aae9b6b79655.tar.gz
initscripts-af08baf4bf83028912de76fa8306aae9b6b79655.tar.bz2
initscripts-af08baf4bf83028912de76fa8306aae9b6b79655.tar.xz
initscripts-af08baf4bf83028912de76fa8306aae9b6b79655.zip
don't delete other ppp-watch processes's pidfiles
-rw-r--r--src/ppp-watch.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ppp-watch.c b/src/ppp-watch.c
index e97c3acb..be241fef 100644
--- a/src/ppp-watch.c
+++ b/src/ppp-watch.c
@@ -228,6 +228,8 @@ restart:
unlink(pidFilePath);
goto restart;
} else {
+ /* reset pidFileName so we don't delete the current one */
+ pidFileName = NULL;
cleanExit(33);
}
}