From ee73840e9c6460cb85f3de81ada0c17dbc4fe2a5 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Mon, 11 Nov 2019 23:01:57 +0100 Subject: [PATCH] dpinger: back to where it was in April 2019 PR: #3693 --- src/etc/inc/plugins.inc.d/dpinger.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/etc/inc/plugins.inc.d/dpinger.inc b/src/etc/inc/plugins.inc.d/dpinger.inc index 6ddec459b..d538aef19 100644 --- a/src/etc/inc/plugins.inc.d/dpinger.inc +++ b/src/etc/inc/plugins.inc.d/dpinger.inc @@ -274,8 +274,8 @@ function dpinger_configure_do($verbose = false, $gwname = null) $params .= exec_safe('%s ', $gateway['monitor']); - /* stdout to /dev/null because hangs otherwise */ - mwexec("/usr/local/bin/dpinger {$params} > /dev/null"); + /* foreground mode in background to deal with tentative connectivity */ + mwexec_bg("/usr/local/bin/dpinger -f {$params}"); } if ($verbose) {