diff options
-rw-r--r-- | urpm/main_loop.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/main_loop.pm b/urpm/main_loop.pm index 224a9909..f9ac014e 100644 --- a/urpm/main_loop.pm +++ b/urpm/main_loop.pm @@ -45,7 +45,7 @@ my ($local_sources, $list) = urpm::get_pkgs::selected2list($urpm, $state->{selected}, clean_other => !$noclean && $urpm->{options}{'pre-clean'}, ); -unless ($local_sources || $list) { +if (!$local_sources && !$list) { $urpm->{fatal}(3, N("unable to get source packages, aborting")); } |