Check: improve verbosity of url verifier

This commit is contained in:
Alfred Gedeon 2021-02-10 11:11:25 -08:00
parent 0345a20202
commit e20204f269

View file

@ -38,11 +38,14 @@ function test {
then then
CURL_RES=$RES CURL_RES=$RES
SCRIPT_RET=1 SCRIPT_RET=1
echo ERROR: Result is: "${CURL_RES}"
elif [ "${CURL_RES}" == '403' ] elif [ "${CURL_RES}" == '403' ]
then then
SCRIPT_RET=1 SCRIPT_RET=1
echo ERROR: Result is: "${CURL_RES}"
else
echo WARNING: Result is: "${CURL_RES}"
fi fi
echo Result is: "${CURL_RES}"
echo "=================================" echo "================================="
fi fi
done done