Skip to content

Commit

Permalink
chore: ShellCheck acmesh-official#3
Browse files Browse the repository at this point in the history
  • Loading branch information
racitup committed Dec 10, 2021
1 parent 499feb7 commit d570ff4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dnsapi/dns_mythic_beasts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ _mb_rest() {
return 1
fi

header="$(cat $HTTP_HEADER)"
header="$(cat "$HTTP_HEADER")"
status="$(echo "$header" | _egrep_o "^HTTP[^ ]* .*$" | cut -d " " -f 2-100 | tr -d "\f\n")"
code="$(echo "$status" | _egrep_o "^[0-9]*")"
if [ "$code" -ge 400 ] || _contains "$response" "\"error\"" || _contains "$response" "invalid_client"; then
Expand Down

0 comments on commit d570ff4

Please sign in to comment.