summaryrefslogtreecommitdiffstats
path: root/etc/inc/util.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-11-28 21:46:11 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-11-28 21:46:11 +0000
commit84a4468911f716f2ac83397fa7220511b51f6c59 (patch)
treea907472e0ae9001608f48927a6286283d846ae18 /etc/inc/util.inc
parent9d59c08fbee06847b1f3c4bc70f5d7b4874abdf4 (diff)
downloadpfsense-84a4468911f716f2ac83397fa7220511b51f6c59.zip
pfsense-84a4468911f716f2ac83397fa7220511b51f6c59.tar.gz
Do not unlink PID file, we may need it later.
Pointy-Hat-*2: me
Diffstat (limited to 'etc/inc/util.inc')
-rw-r--r--etc/inc/util.inc1
1 files changed, 0 insertions, 1 deletions
diff --git a/etc/inc/util.inc b/etc/inc/util.inc
index 99f4f62..2aadad8 100644
--- a/etc/inc/util.inc
+++ b/etc/inc/util.inc
@@ -39,7 +39,6 @@ function sigkillbypid($pidfile, $sig) {
if (file_exists($pidfile)) {
$pid = trim(file_get_contents($pidfile));
mwexec("/bin/kill -s $sig {$pid}");
- unlink_if_exists($pidfile);
} else {
mwexec("/bin/kill -s $sig {$pidfile}");
}
OpenPOWER on IntegriCloud