summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Rousse <guillomovitch@mageia.org>2012-09-12 11:53:46 +0000
committerGuillaume Rousse <guillomovitch@mageia.org>2012-09-12 11:53:46 +0000
commit0e53eb203dbe67028eaf20739442475bd83c8bb1 (patch)
tree26678cbd9060b45069c24b4acb2ad68863c16046
parentc37a8be3332c791f13d250a33b4dd88c5a534600 (diff)
downloaddrakx-0e53eb203dbe67028eaf20739442475bd83c8bb1.tar
drakx-0e53eb203dbe67028eaf20739442475bd83c8bb1.tar.gz
drakx-0e53eb203dbe67028eaf20739442475bd83c8bb1.tar.bz2
drakx-0e53eb203dbe67028eaf20739442475bd83c8bb1.tar.xz
drakx-0e53eb203dbe67028eaf20739442475bd83c8bb1.zip
no need to test for a potential match before substituting
-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;