aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsbocheck1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbocheck b/sbocheck
index 2279717..53c3861 100755
--- a/sbocheck
+++ b/sbocheck
@@ -44,6 +44,7 @@ update_tree;
sub get_update_list() {
print "Checking for updated SlackBuilds...\n";
my $updates = get_available_updates;
+ return unless exists $$updates[0];
# consistent formatting - determine longest version string, which will tell
# us the max minimum length of the left side of the output for stuff that
# fits in 80 chars; stuff that doesn't will overflow.