mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-17 18:14:42 +00:00
system: tiny refactor
This commit is contained in:
parent
0860755e3b
commit
03ef2ff81e
@ -52,8 +52,7 @@ function setup_gateways_monitor($verbose = false, $gwname = null)
|
||||
flush();
|
||||
}
|
||||
|
||||
$running_processes = running_dpinger_processes();
|
||||
foreach ($running_processes as $running_gwname => $process) {
|
||||
foreach (running_dpinger_processes() as $running_gwname => $process) {
|
||||
if (!empty($gwname) && $running_gwname != $gwname) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user