summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone.pm')
-rw-r--r--perl-install/standalone.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone.pm b/perl-install/standalone.pm
index d9dae154e..3eccdbe92 100644
--- a/perl-install/standalone.pm
+++ b/perl-install/standalone.pm
@@ -196,7 +196,7 @@ sub bug_handler {
return if $error && $^S ne '0' && !$is_signal;
# exceptions with "\n" are normal ways to quit:
- if (!$is_signal && $error eq MDK::Common::String::formatError($error)) {
+ if (!$is_signal && eval { $error eq MDK::Common::String::formatError($error) }) {
warn $error;
exit(255);
}