From af08baf4bf83028912de76fa8306aae9b6b79655 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Mon, 3 Apr 2000 21:39:22 +0000 Subject: don't delete other ppp-watch processes's pidfiles --- src/ppp-watch.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ppp-watch.c') 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); } } -- cgit v1.2.1