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

nixos/maintainers/scripts/ec2/create-amis.sh: fix argument check
This commit is contained in:
Lassulus
2020-08-22 16:47:54 +02:00
committed by GitHub

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