summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-12-19 05:19:44 +0000
committerErmal Luçi <eri@pfsense.org>2009-12-19 05:19:44 +0000
commit43bc3e3f75aca058037fe94273f3dd6856fbeb47 (patch)
tree30fb12e3dee0ff6ce7fc65d9dceb6c93f8df14e3 /etc/inc
parente7c623c4587572bbebb570770c9cc394523699ef (diff)
downloadpfsense-43bc3e3f75aca058037fe94273f3dd6856fbeb47.zip
pfsense-43bc3e3f75aca058037fe94273f3dd6856fbeb47.tar.gz
Pass the right argument to killbypid. Pointy-hat: myself.
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/filter.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index 9f6533d..fc8c32d 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -315,7 +315,7 @@ function filter_configure_sync() {
fwrite($filterdnsfd, $filterdns);
fclose($filterdnsfd);
}
- killbypid(trim(file_get_contents("{$g['tmp_path']}/filterdns.pid"), " \n"));
+ killbypid("{$g['tmp_path']}/filterdns.pid");
mwexec("/usr/local/sbin/filterdns {$g['tmp_path']}/filterdns.pid 300 {$g['varetc_path']}/filterdns.conf");
}
@@ -2397,4 +2397,4 @@ EOD;
return($ipfrules);
}
-?> \ No newline at end of file
+?>
OpenPOWER on IntegriCloud