summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-06-09 09:50:12 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-06-09 09:50:12 +0000
commit35ed083cef720efca08bfb8711f1e05d76fddfe9 (patch)
treec0d2a5d8326096a671348affd2848eeae844ea64
parent5c62378ac1eaeb4eddea95a9a835526b21b08fe9 (diff)
downloaddrakx-35ed083cef720efca08bfb8711f1e05d76fddfe9.tar
drakx-35ed083cef720efca08bfb8711f1e05d76fddfe9.tar.gz
drakx-35ed083cef720efca08bfb8711f1e05d76fddfe9.tar.bz2
drakx-35ed083cef720efca08bfb8711f1e05d76fddfe9.tar.xz
drakx-35ed083cef720efca08bfb8711f1e05d76fddfe9.zip
(leavingStep) if formatError() returns nothing, better display the raw error
-rw-r--r--perl-install/install_steps.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index f1b5ab2a5..1a519868d 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -81,7 +81,7 @@ sub leavingStep {
eval { &$f() };
$o->ask_warn(N("Error"), [
N("An error occurred, but I do not know how to handle it nicely.
-Continue at your own risk."), formatError($@) ]) if $@;
+Continue at your own risk."), formatError($@) || $@ ]) if $@;
}
}