summaryrefslogtreecommitdiffstats
path: root/syncshadowdb
diff options
context:
space:
mode:
authordmose%mozilla.org <>2000-03-16 08:40:57 +0100
committerdmose%mozilla.org <>2000-03-16 08:40:57 +0100
commit8ef291fa896651155e27ed4c7e905a0ac7d61687 (patch)
treec0a86bf92fcdb30f9b64ceb58a9dc994bdd00798 /syncshadowdb
parentfbdd05dd8a942926beb67c15a804b0bd949ad45f (diff)
downloadbugzilla-8ef291fa896651155e27ed4c7e905a0ac7d61687.tar.gz
bugzilla-8ef291fa896651155e27ed4c7e905a0ac7d61687.tar.xz
get rid of undefined warning
Diffstat (limited to 'syncshadowdb')
-rwxr-xr-xsyncshadowdb2
1 files changed, 1 insertions, 1 deletions
diff --git a/syncshadowdb b/syncshadowdb
index 6c6479e19..100580942 100755
--- a/syncshadowdb
+++ b/syncshadowdb
@@ -35,7 +35,7 @@ sub sillyness {
}
my $verbose = 0;
-if ($ARGV[0] eq '-v') {
+if ($#ARGV > 0 && $ARGV[0] eq '-v') {
$verbose = 1;
}
$| = 1;