From 911b05307b118dafd982a86d2118d8cc62019689 Mon Sep 17 00:00:00 2001 From: Raphael Manfredi Date: Sun, 6 Jun 2021 12:53:42 +0200 Subject: [PATCH] Define logcluck properly. Due to copy-n-paste error, was simply redefining logconfess instead of defining logcluck. --- Agent/Driver/File.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Agent/Driver/File.pm b/Agent/Driver/File.pm index 3017002..4b2149e 100644 --- a/Agent/Driver/File.pm +++ b/Agent/Driver/File.pm @@ -368,7 +368,7 @@ sub logerr { # When `duperr' is true, emit message on the 'output' channel prefixed # with WARNING. # -sub logconfess { +sub logcluck { my $self = shift; my ($str) = @_; $self->emit_output('warning', "WARNING", $str) if $self->duperr;