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 d2035e469..f82c2509c 100644
--- a/perl-install/standalone.pm
+++ b/perl-install/standalone.pm
@@ -192,7 +192,7 @@ sub bug_handler {
# exceptions in eval are OK:
return if $error && $^S;
# exceptions with "\n" are normal ways to quit:
- if ($error !~ /at line/) {
+ if ($error eq MDK::Common::String::formatError($error)) {
warn $error;
exit(255);
}