mirror of
https://github.com/ru-de/faq.git
synced 2024-11-22 10:22:20 +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"
|
||||
fi
|
||||
|
||||
if [ "$status" != "$expectedStatus" ]; then
|
||||
if [ "$status" != "$expectedStatus" -a "$status" != "200" ]; then
|
||||
EXIT_CODE=1
|
||||
echo "недоступна с кодом $status, ожидается $expectedStatus";
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user