aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-09-11 11:40:58 +0000
committerThierry Vignaud <tv@mandriva.org>2006-09-11 11:40:58 +0000
commite47c5e16ffca8c407ec975ddfe39dd0c6c20fdd4 (patch)
tree843b64054f2bec2a7a10ad0ddc61870a6cc2547c
parente1956ce307fcff6986683057d942d74af0f92c03 (diff)
downloadrpmdrake-e47c5e16ffca8c407ec975ddfe39dd0c6c20fdd4.tar
rpmdrake-e47c5e16ffca8c407ec975ddfe39dd0c6c20fdd4.tar.gz
rpmdrake-e47c5e16ffca8c407ec975ddfe39dd0c6c20fdd4.tar.bz2
rpmdrake-e47c5e16ffca8c407ec975ddfe39dd0c6c20fdd4.tar.xz
rpmdrake-e47c5e16ffca8c407ec975ddfe39dd0c6c20fdd4.zip
(get_pkgs) report errors when reading urpm DB
-rwxr-xr-xrpmdrake4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpmdrake b/rpmdrake
index 014e405d..d9cf3646 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -1356,12 +1356,12 @@ sub get_pkgs {
@update_medias = grep { !$_->{ignore} && $_->{update} } @{$urpm->{media}};
- if (0) { # TODO/FIXME: renew me (w/o exit on fatal error)
$urpm->{fatal} = sub {
interactive_msg(N("Fatal error"),
N("A fatal error occurred: %s.", $_[1]));
- myexit(-1);
+ myexit(-1) if 0; #FIXME
};
+ if (0) { # TODO/FIXME: renew me (w/o exit on fatal error)
unless ($options{'no-media-update'}) {
if (@update_medias > 0) {
if (!$opts->{skip_updating_mu}) {