localhost does not exist in the CI

This commit is contained in:
Loic Dachary 2021-01-19 00:26:55 +01:00
parent 9618664e91
commit 68c122d854
No known key found for this signature in database
GPG Key ID: 992D23B392F9E4F2
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ function main() {
done
for serial in $serials ; do
while true ; do
test $(curl --silent http://localhost:818$serial -o /dev/null -w "%{http_code}") = 302 && break
test $(curl --silent http://0.0.0.0:818$serial -o /dev/null -w "%{http_code}") = 302 && break
sleep 5
done
done