summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--urpm.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm.pm b/urpm.pm
index 6ec52d7f..c78723e1 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -3140,7 +3140,7 @@ sub find_packages_to_remove {
if (!$options{force} && @notfound) {
if (@m) {
- $options{callback_fuzzy} and $options{callback_fuzzy}->($urpm, $match, @m)
+ $options{callback_fuzzy} and $options{callback_fuzzy}->($urpm, @$l > 1 ? $match : $l->[0], @m)
or return ();
} else {
$options{callback_notfound} and $options{callback_notfound}->($urpm, @notfound)