Skip to content

Commit

Permalink
fix(http): corrects protocol check for wget availability (#82)
Browse files Browse the repository at this point in the history
Previously, the script was checking for the wrong PROTOCOL key when checking whether the required tools were available. As a result, it wouldn't detect when `wget` was not present.
  • Loading branch information
sarayourfriend committed Mar 5, 2022
1 parent 707a3b7 commit 570c9fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wait-for
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ wait_for() {
exit 1
fi
;;
wget)
http)
if ! command -v wget >/dev/null; then
echoerr 'wget command is missing!'
exit 1
Expand Down

0 comments on commit 570c9fb

Please sign in to comment.