summaryrefslogtreecommitdiffstats
path: root/syncshadowdb
diff options
context:
space:
mode:
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;