diff options
-rw-r--r-- | rpmdrake.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm index ff87db3a..6a29dd44 100644 --- a/rpmdrake.pm +++ b/rpmdrake.pm @@ -551,9 +551,9 @@ Is it ok to continue?"); @transient_options ); my @mirrors = eval { mirrors('/var/cache/urpmi', $options{want_base_distro}) }; + my $msg = $@; remove_wait_msg($wait); - if ($@) { - my $msg = $@; #- seems that value is bitten before being printed by next func.. + if ($msg) { interactive_msg(N("Error during download"), ($branded ? N("There was an error downloading the mirror list: |