From faf5f942d2f03a2fa53639f3659e3dcbdfbe8002 Mon Sep 17 00:00:00 2001 From: Robert Martin-Legene <robert@martin-legene.dk> Date: Fri, 17 Jul 2020 04:18:26 -0300 Subject: [PATCH] Do not flood container logs --- collector/collector.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/collector/collector.pl b/collector/collector.pl index 99e8f87..5554159 100755 --- a/collector/collector.pl +++ b/collector/collector.pl @@ -28,6 +28,7 @@ my $sql; sub info(@) { + return if not -t STDOUT; # if 1 param only unshift @_, '%s' if $#_ == 0; -- GitLab