mirror of
https://github.com/iv-org/youtube-utils.git
synced 2024-11-26 23:20:37 +00:00
Fix typo: missing $ before 'output' vaiable
Co-authored-by: Perflyst <mail@perflyst.de>
This commit is contained in:
parent
dadee4a14d
commit
07e6aeecb9
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user