1
0
mirror of https://github.com/ru-de/faq.git synced 2024-11-22 18:32:19 +00:00

200 resp is ok

This commit is contained in:
Evgeniy Sokolov 2017-01-13 02:24:06 +01:00
parent c907f18d7e
commit cd3e1e2e16

View File

@ -47,7 +47,7 @@ while read FILE; do
expectedStatus="200"
fi
if [ "$status" != "$expectedStatus" ]; then
if [ "$status" != "$expectedStatus" -a "$status" != "200" ]; then
EXIT_CODE=1
echo "недоступна с кодом $status, ожидается $expectedStatus";
else