diff --git a/pandora_server/util/pandora_manage.pl b/pandora_server/util/pandora_manage.pl index 52d0edb693..3a81455def 100644 --- a/pandora_server/util/pandora_manage.pl +++ b/pandora_server/util/pandora_manage.pl @@ -3962,16 +3962,18 @@ sub cli_get_bad_conf_files() { my $missings = 0; my @tokens = ("server_ip","server_path","temporal","log_file"); - foreach my $token (@tokens) { - if(enterprise_hook('pandora_check_conf_token',[$conf->{incomingdir}.'/conf/'.$file, $token]) == 0) { - $missings++; + if ($file !~ /.srv./) { + foreach my $token (@tokens) { + if(enterprise_hook('pandora_check_conf_token',[$conf->{incomingdir}.'/conf/'.$file, $token]) == 0) { + $missings++; + } + } + + # If any token of checked is missed we print the file path + if($missings > 0) { + print $conf->{incomingdir}.'/conf/'.$file."\n"; + $bad_files++; } - } - - # If any token of checked is missed we print the file path - if($missings > 0) { - print $conf->{incomingdir}.'/conf/'.$file."\n"; - $bad_files++; } }