aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rpmdrake.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index 6a29dd44..7fa04ce3 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -551,21 +551,21 @@ Is it ok to continue?");
@transient_options
);
my @mirrors = eval { mirrors('/var/cache/urpmi', $options{want_base_distro}) };
- my $msg = $@;
+ my $error = $@;
remove_wait_msg($wait);
- if ($msg) {
+ if ($error) {
interactive_msg(N("Error during download"),
($branded
? N("There was an error downloading the mirror list:
%s
The network, or the website, may be unavailable.
-Please try again later.", $msg)
+Please try again later.", $error)
: N("There was an error downloading the mirror list:
%s
The network, or the Mandriva website, may be unavailable.
-Please try again later.", $msg)), %options
+Please try again later.", $error)), %options
);
return '';