mirror of
https://gitea.invidious.io/iv-org/youtube-utils.git
synced 2024-08-15 00:53:16 +00:00
Fix typo: missing $ before 'output' vaiable
Co-authored-by: Perflyst <mail@perflyst.de>
This commit is contained in:
parent
dadee4a14d
commit
07e6aeecb9
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue