system: fix dpinger invoke

This commit is contained in:
Franco Fichtner 2019-04-26 14:41:07 +02:00
parent 60966cdaa2
commit a9e05d5722

View File

@ -289,8 +289,8 @@ function dpinger_configure_do($verbose = false, $gwname = null)
$params .= exec_safe('%s ', $gateway['monitor']);
/* daemonises forground mode because background mode does not work? */
mwexec_bg("/usr/local/bin/dpinger -f {$params}");
/* stdout to /dev/null because hangs otherwise */
mwexecf("/usr/local/bin/dpinger {$params} > /dev/null");
}
if ($verbose) {