summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfetch-files-cba.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/fetch-files-cba.pl b/fetch-files-cba.pl
index ddfdc18..ccb7d7e 100755
--- a/fetch-files-cba.pl
+++ b/fetch-files-cba.pl
@@ -39,7 +39,7 @@ binmode(STDIN, ":utf8");
binmode(STDOUT, ":utf8");
binmode(STDERR, ":utf8");
-if($#ARGV == 0) {
+if(@ARGV == 0) {
print "You have to supply a Series ID\n";
exit 1;
}