diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-06-14 09:12:09 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-06-14 09:12:09 +0000 |
commit | c484620285c85a1418f7c867d616bafbfb80eafd (patch) | |
tree | 33335a4d57e41c63251beb8aa688d0fb3ed80190 /rpmdrake.pm | |
parent | 82bed2eecace12c5eebc249d7cf667f60493831a (diff) | |
download | rpmdrake-c484620285c85a1418f7c867d616bafbfb80eafd.tar rpmdrake-c484620285c85a1418f7c867d616bafbfb80eafd.tar.gz rpmdrake-c484620285c85a1418f7c867d616bafbfb80eafd.tar.bz2 rpmdrake-c484620285c85a1418f7c867d616bafbfb80eafd.tar.xz rpmdrake-c484620285c85a1418f7c867d616bafbfb80eafd.zip |
Be more forgiving : don't issue a fatal error message if there is no error
message to display. (Anthill #918)
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r-- | rpmdrake.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm index c218988f..8a182f30 100644 --- a/rpmdrake.pm +++ b/rpmdrake.pm @@ -464,7 +464,7 @@ sub update_sources_check { local $urpm->{error} = sub { push @error_msgs, to_utf8($_[0]) }; update_sources($urpm, %$options, noclean => 1); fatal_error: - if (@error_msgs || any { member($_->{name}, @media) && $_->{modified} } @{$urpm->{media}}) { + if (@error_msgs) { interactive_msg('rpmdrake', sprintf_fixutf8(translate($error_msg), join("\n", @error_msgs))); return 0; } |