From 35ed083cef720efca08bfb8711f1e05d76fddfe9 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 9 Jun 2005 09:50:12 +0000 Subject: (leavingStep) if formatError() returns nothing, better display the raw error --- perl-install/install_steps.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/install_steps.pm') 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 $@; } } -- cgit v1.2.1