From 2d0a8e2b2b082c8ae9a7cb678ac1f3c2b2b1ca8e Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Sun, 24 Jan 2016 21:30:54 +0100 Subject: [PATCH] + enhance output --- centreon/plugins/templates/counter.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/centreon/plugins/templates/counter.pm b/centreon/plugins/templates/counter.pm index 12bbf74b0..9ccd0394f 100644 --- a/centreon/plugins/templates/counter.pm +++ b/centreon/plugins/templates/counter.pm @@ -181,7 +181,7 @@ sub run_global { short_msg => "${prefix_output}${short_msg}${suffix_output}" ); } else { - $self->{output}->output_add(short_msg => "${prefix_output}${long_msg}${suffix_output}"); + $self->{output}->output_add(short_msg => "${prefix_output}${long_msg}${suffix_output}") if ($long_msg ne ''); } }