Revert "Only stop service in windows when error not XML PARSER problems. Gitlab: #518"

This reverts commit 4dce98e2d2855cfe2af28522a1ee916a76ebd8ee
This commit is contained in:
mlopez 2017-03-14 14:30:08 +01:00
parent 8b2c0d2e51
commit 75e8926c11

View File

@ -173,7 +173,7 @@ sub pandora_crash () {
# worried about that. If perl has a more "clean" way to avoid this messages
# will be nice to replace this code, but at this time it's the only way I know
callback_stop() if ($^O eq 'MSWin32' && defined($Config{'win32_service'}) && @_ !~ m/XML\/Parser/);
callback_stop() if ($^O eq 'MSWin32' && defined($Config{'win32_service'}));
foreach my $error_line (@_) {
# Trap the XML error and exit without nasty messages