From 82f3678fddfaa0ea04ad195e72e888f17b0a8d4d Mon Sep 17 00:00:00 2001 From: fbsanchez Date: Thu, 19 Jul 2018 16:38:15 +0200 Subject: [PATCH] Minor fix migrate_logs.pl no ticket --- pandora_server/util/pandora_migrate_logs.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_server/util/pandora_migrate_logs.pl b/pandora_server/util/pandora_migrate_logs.pl index e109163897..e0e58d813a 100644 --- a/pandora_server/util/pandora_migrate_logs.pl +++ b/pandora_server/util/pandora_migrate_logs.pl @@ -149,7 +149,7 @@ if ( (defined($pa_config{'logstash_host'}) && $pa_config{'logstash_host'} ne '' if(! defined($pa_config{'migration_socket'})) { logger(\%pa_config, "Failed to connect to LogStash server at " . $pa_config{'logstash_host'}, 1); - return; + exit 1; } recursive_file_apply(\%pa_config, $dbh, \&migrate_log,$pa_config{'log_dir'});