]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
get rid of undefined warning
authordmose%mozilla.org <>
Thu, 16 Mar 2000 07:40:57 +0000 (07:40 +0000)
committerdmose%mozilla.org <>
Thu, 16 Mar 2000 07:40:57 +0000 (07:40 +0000)
syncshadowdb

index 6c6479e1989a20aeb8c62c6f60a2572def37d8ec..100580942806e4cc5ce9f0a6f6bc2ab2a4943173 100755 (executable)
@@ -35,7 +35,7 @@ sub sillyness {
 }
 
 my $verbose = 0;
-if ($ARGV[0] eq '-v') {
+if ($#ARGV > 0 && $ARGV[0] eq '-v') {
     $verbose = 1;
 }
 $| = 1;