fix logic on systemd and mysql/mariadb existence

This commit is contained in:
Isaac Connor 2020-09-23 16:07:46 -04:00
parent 16a593e904
commit a68c95ba73
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ if [ "$1" = "configure" ]; then
if [ "$ZM_DB_HOST" = "localhost" ]; then
if [ $SYSTEMD -eq 1 ] && [ -e "/lib/systemd/system/mysql.service" ] || [ -e "/lib/systemd/system/mariadb.service" ]; then
if [ $SYSTEMD -eq 1 ] && ([ -e "/lib/systemd/system/mysql.service" ] || [ -e "/lib/systemd/system/mariadb.service" ]); then
#
# Get mysql started if it isn't running
#