From bfac696fb7177373abddf0ba531c04e80a038d44 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Wed, 5 Jan 2022 16:49:00 -0500 Subject: [PATCH] return logger from loginit so that we can use it --- scripts/ZoneMinder/lib/ZoneMinder/Logger.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/ZoneMinder/lib/ZoneMinder/Logger.pm b/scripts/ZoneMinder/lib/ZoneMinder/Logger.pm index 43ae38e72..03bc84cd3 100644 --- a/scripts/ZoneMinder/lib/ZoneMinder/Logger.pm +++ b/scripts/ZoneMinder/lib/ZoneMinder/Logger.pm @@ -638,6 +638,7 @@ sub logInit( ;@ ) { $logger = ZoneMinder::Logger->new() if !$logger; $logger->initialise(%options); logSetSignal(); + return $logger; } sub logReinit {