Fix yuno_portal

This commit is contained in:
Maniack Crudelis 2017-04-21 20:09:16 +02:00
parent 2a8d415ac1
commit f6aba4a9f6
2 changed files with 3 additions and 0 deletions

View file

@ -58,6 +58,7 @@ LXC_START () {
fi
sleep 1
done
echo ""
local failstart=0
# Check if the container is running

View file

@ -109,6 +109,8 @@ CHECK_URL () {
curl_error=0
# 503 Service Unavailable can would have some time to work.
local http503=0
# yuno_portal equal 1 if the test fall on the portal
yuno_portal=0
# Try to access to the url in 2 times, with a final / and without
i=1; while [ $i -ne 3 ]