Skip to content

Commit 570c9fb

Browse files
fix(http): corrects protocol check for wget availability (eficode#82)
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.
1 parent 707a3b7 commit 570c9fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wait-for

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ wait_for() {
5555
exit 1
5656
fi
5757
;;
58-
wget)
58+
http)
5959
if ! command -v wget >/dev/null; then
6060
echoerr 'wget command is missing!'
6161
exit 1

0 commit comments

Comments
 (0)