Commit 6dd9a00c authored by Adrian Rossouw's avatar Adrian Rossouw

got the mysql ip check the wrong way around.

parent 06d0a9fb
......@@ -92,11 +92,11 @@ fi
_MYSQLTEST=`mysql -h$AEGIR_HOST_IP -uINVALIDLOGIN -pINVALIDPASS 2>&1 >/dev/null | cat`
if [ -z `echo $_MYSQLTEST | grep -q "ERROR 2003"` ] ; then
msg "MySQL is listening on $AEGIR_HOST_IP."
true
else
msg "MySQL is not configured to listen on $AEGIR_HOST_IP."
exit 1
else
msg "MySQL is listening on $AEGIR_HOST_IP."
true
fi
msg "This script makes the following assumptions: "
......
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