summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/inc/system.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc
index 093730d..1ee4c0e 100644
--- a/etc/inc/system.inc
+++ b/etc/inc/system.inc
@@ -344,8 +344,8 @@ function system_syslogd_start() {
else
killbypid("{$g['varrun_path']}/syslog.pid");
- exec("/usr/bin/killall -9 syslogd");
- exec("/usr/bin/killall -9 fifolog_writer");
+ mwexec("/usr/bin/killall -9 syslogd");
+ mwexec("/usr/bin/killall -9 fifolog_writer");
if (isset($syslogcfg)) {
$separatelogfacilities = array('ntpd','racoon','openvpn');
OpenPOWER on IntegriCloud