summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
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