diff options
author | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-04-30 00:05:25 +0200 |
---|---|---|
committer | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-04-30 00:05:25 +0200 |
commit | f4aa01cae8880814827b3e0130a7fd95f6077aba (patch) | |
tree | aec6ccfd9b1b69c31381caf860743b2459a02876 | |
parent | 258a54ba58e6f51d16bfcb1291076c642766343e (diff) | |
download | sbotools-f4aa01cae8880814827b3e0130a7fd95f6077aba.tar.xz |
sboremove: change check for exists $foo[0] to checking @foo
-rwxr-xr-x | sboremove | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |