From: Dan Mick Date: Wed, 28 Jun 2023 23:14:19 +0000 (-0700) Subject: scripts/sync-pull: update argument check to look for $3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F2143%2Fhead;p=ceph-build.git scripts/sync-pull: update argument check to look for $3 Catch the error where three arguments are not supplied. Signed-off-by: Dan Mick --- diff --git a/scripts/sync-pull b/scripts/sync-pull index 15633c54..23edceab 100755 --- a/scripts/sync-pull +++ b/scripts/sync-pull @@ -1,6 +1,6 @@ #!/bin/bash -: ${2?"Usage: $0 \$project \$release \$sha1"} +: ${3?"Usage: $0 \$project \$release \$sha1"} # Script exits here if command-line parameter absent, #+ with following error message. # usage-message.sh: 1: Usage: sync-pull $project $release $sha1