Do not test ressources if the page itself returns an error

This commit is contained in:
Jean-Baptiste Holcroft 2017-10-19 14:40:47 +02:00
parent 35e2f53e30
commit 6b314ee11f

View file

@ -273,7 +273,10 @@ CHECK_URL () {
echo -e "\e[0m" echo -e "\e[0m"
# Test http status of ressources files # Test http status of ressources files
CHECK_URL_RESSOURCES if [[ $curl_error -eq 0 ]]
then
CHECK_URL_RESSOURCES
fi
fi fi
fi fi