mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
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:
commit
d08b81c3b5
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ log() {
|
||||||
echo "$@" >&2
|
echo "$@" >&2
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ -z "$1" ]; then
|
if [ "$#" -ne 1 ]; then
|
||||||
log "Usage: ./upload-amazon-image.sh IMAGE_OUTPUT"
|
log "Usage: ./upload-amazon-image.sh IMAGE_OUTPUT"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue