summaryrefslogtreecommitdiffstats
path: root/urpmq
diff options
context:
space:
mode:
Diffstat (limited to 'urpmq')
-rwxr-xr-xurpmq2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpmq b/urpmq
index e2b3982d..4c70eaff 100755
--- a/urpmq
+++ b/urpmq
@@ -156,7 +156,7 @@ if ($query->{auto_select} || $query->{deps}) {
$urpm->resolve_packages_to_upgrade($db, $state, requested => 0);
- if (%{$state->{ask_remove}} || %{$state->{ask_unselect}}) {
+ if (%{$state->{ask_remove} || {}} || %{$state->{ask_unselect} || {}}) {
$urpm->{error}(_("some packages have to be removed for being upgraded, this is not supported yet\n"));
}
}