Merge pull request #89116 from wagdav/fix-args-create-amis

nixos/maintainers/scripts/ec2/create-amis.sh: fix argument check
gstqt5
Lassulus 2020-08-22 16:47:54 +02:00 committed by GitHub
commit d08b81c3b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ log() {
echo "$@" >&2
}
if [ -z "$1" ]; then
if [ "$#" -ne 1 ]; then
log "Usage: ./upload-amazon-image.sh IMAGE_OUTPUT"
exit 1
fi