Unverified Commit ab41001b authored by MegaS0ra's avatar MegaS0ra Committed by GitHub
Browse files

Removed break from the "non supported config" case, and changed error message

parent 6676b2fd
......@@ -84,9 +84,8 @@ for i in $var; do
echo -e "\\nVérification des zones sur le serveur $host (DirectAdmin)\\n"
ssh root@"$host" 'cat /etc/virtual/domainowners | cut -d ":" -f 1' > "/opt/dns1zones.txt"
else
echo "Error : Your server does not seem to run Plesk or DirectAdmin."
echo "Other configurations are not supported right now."
break
echo "Error : Your server does not seem to run Plesk or DirectAdmin, or there is a connectivity issue."
echo "Please check that you can access this server through SSH or SQL."
fi
if [ ! -s "/opt/dns1zones.txt" ]; then
......
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