From d6de026c4a2ae570d5be5f47b97f142981c510de Mon Sep 17 00:00:00 2001 From: m-lopez-f Date: Mon, 18 Jan 2016 11:22:15 +0100 Subject: [PATCH] Fixed error in pandora_manage.pl --- pandora_server/util/pandora_manage.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora_server/util/pandora_manage.pl b/pandora_server/util/pandora_manage.pl index 9ed5aae08e..bfa91c1c46 100644 --- a/pandora_server/util/pandora_manage.pl +++ b/pandora_server/util/pandora_manage.pl @@ -3310,7 +3310,7 @@ sub cli_create_synthetic() { my $agent_name = @ARGV[4]; my @module_data = @ARGV[5..$#ARGV]; my $module; - my (@filterdata,@data_module); + my (@filterdata,@data_module,$module_data); if ($synthetic_type ne 'arithmetic' && $synthetic_type ne 'average') { print("[ERROR] Type of syntethic module doesn't exists \n\n"); @@ -3341,7 +3341,7 @@ sub cli_create_synthetic() { exit 1; } if (is_numeric(@split_data[1]) == 0) { - continue; + next; } @data_module = ("",@split_data[0],@split_data[1]); my $text_data = join(',',@data_module);