diff options
author | Lassulus <github@lassul.us> | 2020-08-22 16:47:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-22 16:47:54 +0200 |
commit | d08b81c3b5325929dff544ec3e6682271fc1ffb7 (patch) | |
tree | d4a3d23dd8a691698534f4261e4edfa53edf6d88 /nixos | |
parent | 50f89b7438cf91ad793271a547b345825fce0b4b (diff) | |
parent | 3b1ed035c3e09c245cbb89449fe3a8ebfdfa61a7 (diff) | |
download | nixpkgs-d08b81c3b5325929dff544ec3e6682271fc1ffb7.tar nixpkgs-d08b81c3b5325929dff544ec3e6682271fc1ffb7.tar.gz nixpkgs-d08b81c3b5325929dff544ec3e6682271fc1ffb7.tar.bz2 nixpkgs-d08b81c3b5325929dff544ec3e6682271fc1ffb7.tar.lz nixpkgs-d08b81c3b5325929dff544ec3e6682271fc1ffb7.tar.xz nixpkgs-d08b81c3b5325929dff544ec3e6682271fc1ffb7.tar.zst nixpkgs-d08b81c3b5325929dff544ec3e6682271fc1ffb7.zip |
Merge pull request #89116 from wagdav/fix-args-create-amis
nixos/maintainers/scripts/ec2/create-amis.sh: fix argument check
Diffstat (limited to 'nixos')
-rwxr-xr-x | nixos/maintainers/scripts/ec2/create-amis.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/maintainers/scripts/ec2/create-amis.sh b/nixos/maintainers/scripts/ec2/create-amis.sh index 145eb49ced7..89e24f2ccfd 100755 --- a/nixos/maintainers/scripts/ec2/create-amis.sh +++ b/nixos/maintainers/scripts/ec2/create-amis.sh @@ -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 |