Fix typo: missing $ before 'output' vaiable

Co-authored-by: Perflyst <mail@perflyst.de>
This commit is contained in:
Samantaz Fox 2021-10-29 12:48:42 +02:00 committed by GitHub
parent dadee4a14d
commit 07e6aeecb9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -404,7 +404,7 @@ hdr_ct='Content-Type: application/json; charset=utf-8'
hdr_ua='User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0'
# Default to STDOUT if no output file was given
if [ -z "output" ]; then output='-'; fi
if [ -z "$output" ]; then output='-'; fi
# Run!
curl --compressed -o "$output" -H "$hdr_ct" -H "$hdr_ua" --data "$data" "$url"