mirror of
https://github.com/ru-de/faq.git
synced 2024-11-14 14:41:01 +00:00
200 resp is ok
This commit is contained in:
parent
c907f18d7e
commit
cd3e1e2e16
@ -47,7 +47,7 @@ while read FILE; do
|
|||||||
expectedStatus="200"
|
expectedStatus="200"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$status" != "$expectedStatus" ]; then
|
if [ "$status" != "$expectedStatus" -a "$status" != "200" ]; then
|
||||||
EXIT_CODE=1
|
EXIT_CODE=1
|
||||||
echo "недоступна с кодом $status, ожидается $expectedStatus";
|
echo "недоступна с кодом $status, ожидается $expectedStatus";
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user