From b0b91fb934e18607d9be297f3b3c62afe6483f6b Mon Sep 17 00:00:00 2001 From: J Pipkin Date: Wed, 16 Jan 2013 02:19:13 -0600 Subject: return from get_update_list() if there are no updates --- sbocheck | 1 + 1 file changed, 1 insertion(+) 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. -- cgit v1.2.3