From a5cdfd2932c7a909b8d895fdc4028107ca91be86 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Thu, 12 Jan 2017 13:03:53 -0500 Subject: [PATCH] call loadMonitors at the beginning. Otherwise we may not know about a monitor while handling a message from it. --- scripts/zmtrigger.pl.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/zmtrigger.pl.in b/scripts/zmtrigger.pl.in index 9e00f5ac8..0c526c83e 100644 --- a/scripts/zmtrigger.pl.in +++ b/scripts/zmtrigger.pl.in @@ -196,9 +196,10 @@ foreach my $connection ( @in_select_connections ) my %spawned_connections; my %monitors; - my $monitor_reload_time = 0; my $needsReload = 0; +loadMonitors(); + $! = undef; my $rin = '';