aboutsummaryrefslogtreecommitdiff
path: root/sbocheck
diff options
context:
space:
mode:
authorAndreas Guldstrand <andreas.guldstrand@gmail.com>2015-11-14 04:04:34 +0100
committerAndreas Guldstrand <andreas.guldstrand@gmail.com>2015-11-14 04:04:34 +0100
commit12ab108ac9be2fd27700ca2f92b2a73f04ac4803 (patch)
treed039751c0d102b467dd5c59a5047867a9e28c2e6 /sbocheck
parenteaa18fd91c51c136ff6ec607d46d32b87a2ea34f (diff)
downloadsbotools-12ab108ac9be2fd27700ca2f92b2a73f04ac4803.tar.xz
Additional Perl::Critic::Freenode fixes, and one missed prototype
Diffstat (limited to 'sbocheck')
-rwxr-xr-xsbocheck2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbocheck b/sbocheck
index f5bc2b7..cb56266 100755
--- a/sbocheck
+++ b/sbocheck
@@ -44,7 +44,7 @@ update_tree();
sub get_update_list {
print "Checking for updated SlackBuilds...\n";
my $updates = get_available_updates();
- return unless exists $$updates[0];
+ 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.