Disable logging

This commit is contained in:
John Mertz 2022-11-07 14:50:51 -05:00
parent 447fcb9b5d
commit 006e009eea
1 changed files with 2 additions and 0 deletions

View File

@ -278,6 +278,8 @@ sub do_log
my $die = shift || 0; my $die = shift || 0;
my $min = $self->{verbose} || 5; my $min = $self->{verbose} || 5;
# Journald is borked. Just don't bother logging
return 0;
if ($self->{daemon}) { if ($self->{daemon}) {
use Log::Journald qw(send); use Log::Journald qw(send);
send( send(