diff options
author | Thierry Vignaud <tv@mandriva.org> | 2006-09-11 11:40:58 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2006-09-11 11:40:58 +0000 |
commit | e47c5e16ffca8c407ec975ddfe39dd0c6c20fdd4 (patch) | |
tree | 843b64054f2bec2a7a10ad0ddc61870a6cc2547c | |
parent | e1956ce307fcff6986683057d942d74af0f92c03 (diff) | |
download | rpmdrake-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-x | rpmdrake | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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}) { |