summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2009-09-19 00:18:44 +0200
committerAaron Griffin <aaronmgriffin@gmail.com>2009-09-19 00:18:44 +0200
commit17e96ac3d2505ed8841ff9240492e7378472d364 (patch)
tree4cc8f59f81fb8613984354a3017d6eea45da876a
parent496fc1c7f54132410af5fd84bfe10b8e68d02a1e (diff)
downloaddbscripts-17e96ac3d2505ed8841ff9240492e7378472d364.tar.gz
dbscripts-17e96ac3d2505ed8841ff9240492e7378472d364.tar.xz
integrity-check: Forgot to decrement the arg count
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
-rwxr-xr-xcron-jobs/integrity-check2
1 files changed, 1 insertions, 1 deletions
diff --git a/cron-jobs/integrity-check b/cron-jobs/integrity-check
index 8f23129..c2546de 100755
--- a/cron-jobs/integrity-check
+++ b/cron-jobs/integrity-check
@@ -2,7 +2,7 @@
basedir="$(dirname $0)"
-if [ $# -ne 3 ]; then
+if [ $# -ne 2 ]; then
echo "usage: $(basename $0) <repo>[,<repo>,...] <mailto>" >&2
exit 1
fi