aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsboremove3
1 files changed, 2 insertions, 1 deletions
diff --git a/sboremove b/sboremove
index c842630..cd74d5c 100755
--- a/sboremove
+++ b/sboremove
@@ -70,7 +70,8 @@ my ($remove_queue, %required_by, %warnings, @confirmed);
sub get_requires ($) {
my $location = get_sbo_location (shift);
- my $requires = get_from_info (LOCATION => $location, GET => 'REQUIRES');
+ my $requires = get_from_info (LOCATION => $location, GET => 'REQUIRES')
+ if $location;
return $requires;
}