From be98d56c43356ae9b3a7b0c5842243b387fb2c86 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Fri, 24 Oct 2025 16:59:13 -0400 Subject: [PATCH] In order to reboot, we need to be able to open the control. So don't bothwe with ping. --- scripts/zmwatch.pl.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/zmwatch.pl.in b/scripts/zmwatch.pl.in index 75d6d8536..2d37ff475 100644 --- a/scripts/zmwatch.pl.in +++ b/scripts/zmwatch.pl.in @@ -132,7 +132,7 @@ while (!$zm_terminate) { Debug("Monitor $monitor->{Id} $monitor->{Name}, startup time $now - $startup_time $startup_elapsed ControlId()) { my $control = $monitor->Control(); - if ($control and $control->CanReboot() and $control->ping() and $control->open()) { + if ($control and $control->CanReboot() and $control->open()) { $control->reboot(); } }