aboutsummaryrefslogtreecommitdiffstats
path: root/URPM/Resolve.pm
diff options
context:
space:
mode:
Diffstat (limited to 'URPM/Resolve.pm')
-rw-r--r--URPM/Resolve.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm
index c5aa514..09fffc5 100644
--- a/URPM/Resolve.pm
+++ b/URPM/Resolve.pm
@@ -99,7 +99,7 @@ sub find_candidate_packages {
sub get_installed_arch {
my ($db, $n) = @_;
my $arch;
- $db->traverse_tag_find('name', $n, sub { $arch = $_[0]->arch });
+ $db->traverse_tag_find('name', $n, sub { $arch = $_[0]->arch; 1 });
$arch;
}