Commit 9cba8cb8 authored by Edita Kizinevic's avatar Edita Kizinevic
Browse files

Update message

parent e465acff
......@@ -181,22 +181,18 @@ check_proxies "$FNCONNECT"
#Check test results
if [ "$failover" == true ]; then
message="many database queries from the site have connected directly to the Frontier servers or backup proxies, with a high rate of queries not going through the local squid(s):"
message=$'many database queries from the site have connected directly to the Frontier servers or backup proxies, with a high rate of queries not going through the local squid(s):\n'$result
if [ "$ever_failed" == false ] && [ "$ever_succeeded" == true ]; then
echo "Proxy test is OK, however $message"
echo $result
exit $SAME_WARNING
elif [ "$ever_failed" == true ] && [ "$ever_succeeded" == true ]; then
echo "At least one of proxies is FAILED and $message"
echo $result
exit $SAME_WARNING
elif [ "$found_proxy" == false ]; then
echo "No proxies are found and $message"
echo $result
exit $SAME_WARNING
else
echo "Proxy test is FAILED and $message"
echo $result
exit $SAME_ERROR
fi
else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment