mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 17:14:46 +00:00
system: fix dpinger invoke
This commit is contained in:
parent
60966cdaa2
commit
a9e05d5722
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user