mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-25 10:28:36 +00:00
zenus_: Correct compilation errors when Logger not available
This commit is contained in:
parent
fe2707654f
commit
73c0ad7797
1 changed files with 2 additions and 0 deletions
|
@ -105,6 +105,8 @@ if ($CAN_LOG) {
|
|||
);
|
||||
Log::Log4perl::init( \$loggerconf );
|
||||
our $logger = Log::Log4perl->get_logger($ACCT);
|
||||
} else {
|
||||
our $logger = undef;
|
||||
}
|
||||
|
||||
my $lastread;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue