diff --git a/collector/collector.pl b/collector/collector.pl index 99e8f8753537b01a3cdeb22b7aeb3b0c521f02d3..555415940d844a75ca0795b7ec0c49b2f2bd6453 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;