diff options
author | Bill Nottingham <notting@redhat.com> | 2000-04-03 21:39:22 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2000-04-03 21:39:22 +0000 |
commit | af08baf4bf83028912de76fa8306aae9b6b79655 (patch) | |
tree | 7cb3907cf794c742ca9f4339bc622494c858806a /src/ppp-watch.c | |
parent | 90c145db03e8198e4daf41743ed8357c824decfe (diff) | |
download | initscripts-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
Diffstat (limited to 'src/ppp-watch.c')
-rw-r--r-- | src/ppp-watch.c | 2 |
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); } } |