Minor fix migrate_logs.pl no ticket

This commit is contained in:
fbsanchez 2018-07-19 16:38:15 +02:00
parent 99773177dd
commit 82f3678fdd
1 changed files with 1 additions and 1 deletions

View File

@ -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'});