aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--URPM/Resolve.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm
index bdb470c..476a003 100644
--- a/URPM/Resolve.pm
+++ b/URPM/Resolve.pm
@@ -135,7 +135,7 @@ sub find_chosen_packages {
#- if several packages were selected to match a requested installation,
#- and if --more-choices wasn't given, trim the choices to the first one.
- if (!$urpm->{options}{morechoices} && @chosen > 1 && $chosen_with_score[0][2] == 3) {
+ if (!$urpm->{options}{morechoices} && $chosen_with_score[0][2] == 3) {
return $chosen[0];
}