Remove check

This commit is contained in:
Dryusdan 2023-10-03 11:45:03 +02:00
parent 9b5db8f9d1
commit 0a2bbc5611
Signed by: Dryusdan
GPG key ID: EC1438DDE24E27D7

View file

@ -146,15 +146,15 @@ then
fatal "${INCRBACKDIR} does not exist or is not writable"
fi
if [ -z "$(mysqladmin ${USEROPTIONS} status | grep 'Uptime')" ]
then
fatal "HALTED: MySQL does not appear to be running."
fi
#if [ -z "$(mysqladmin ${USEROPTIONS} status | grep 'Uptime')" ]
#then
# fatal "HALTED: MySQL does not appear to be running."
#fi
if ! "$(echo 'exit' | /usr/bin/mysql -s "${USEROPTIONS}")"
then
fatal "HALTED: Supplied mysql username or password appears to be incorrect (not copied here for security, see script)"
fi
#if ! "$(echo 'exit' | /usr/bin/mysql -s "${USEROPTIONS}")"
#then
# fatal "HALTED: Supplied mysql username or password appears to be incorrect (not copied here for security, see script)"
#fi
GetLockOrDie