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 01d56b30e..8c8ee339c 100644
--- a/perl-install/standalone.pm
+++ b/perl-install/standalone.pm
@@ -203,7 +203,7 @@ sub bug_handler {
# we want the full backtrace:
if ($is_signal) {
my $ctrace = c::C_backtrace();
- $ctrace =~ s/0:.*(\d+:[^:]*Perl_sighandler)/$1/sig if $ctrace =~ /0:.*(\d+:[^:]*Perl_sighandler)/sig;
+ $ctrace =~ s/0:.*(\d+:[^:]*Perl_sighandler)/$1/sig;
$error .= "\nGlibc's trace:\n$ctrace\n";
}
$error .= "Perl's trace:\n" . common::backtrace() if $error;