Fix error when getting latest FTL tag

The headers containing the latest FTL tag were not properly input to the
command (`<` vs `<<<`). This caused Bash to try and open the file named
after the header string, which does not exist.

Signed-off-by: Mcat12 <newtoncat12@yahoo.com>
pull/2882/head
Mcat12 5 years ago
parent 597b4bfcca
commit febdbceab1
No known key found for this signature in database
GPG Key ID: ABB8FC9789AF524D

@ -2391,7 +2391,7 @@ FTLcheckUpdate() {
return 3
fi
FTLlatesttag=$(grep 'Location' < "${FTLreleaseData}" | awk -F '/' '{print $NF}' | tr -d '\r\n')
FTLlatesttag=$(grep 'Location' <<< "${FTLreleaseData}" | awk -F '/' '{print $NF}' | tr -d '\r\n')
if [[ "${FTLversion}" != "${FTLlatesttag}" ]]; then
return 0

Loading…
Cancel
Save