commit f4aa01cae8880814827b3e0130a7fd95f6077aba
parent 258a54ba58e6f51d16bfcb1291076c642766343e
Author: Andreas Guldstrand <andreas.guldstrand@gmail.com>
Date: Sat, 30 Apr 2016 00:05:25 +0200
sboremove: change check for exists $foo[0] to checking @foo
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sboremove b/sboremove
@@ -64,7 +64,7 @@ for my $sbo (@ARGV) {
say "Unable to locate $sbo in the SlackBuilds.org tree."
}
}
-exit 1 unless exists $sbos[0];
+exit 1 unless @sbos;
# Create full queue.
my ($remove_queue, %warnings);