aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-03-15 22:38:40 +0000
committerThierry Vignaud <tv@mandriva.org>2007-03-15 22:38:40 +0000
commit49b471ad86586818c8fc46e197c5c097d2d7f416 (patch)
tree014099ada6bed314706742adb699225b9cb47637 /rpmdrake.pm
parent6dbb3408f45f260f4b56447b115b6a3bfb977ae7 (diff)
downloadrpmdrake-49b471ad86586818c8fc46e197c5c097d2d7f416.tar
rpmdrake-49b471ad86586818c8fc46e197c5c097d2d7f416.tar.gz
rpmdrake-49b471ad86586818c8fc46e197c5c097d2d7f416.tar.bz2
rpmdrake-49b471ad86586818c8fc46e197c5c097d2d7f416.tar.xz
rpmdrake-49b471ad86586818c8fc46e197c5c097d2d7f416.zip
(choose_mirror) rename "msg" as "errors" (more understandable)
Diffstat (limited to 'rpmdrake.pm')
-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 '';