diff --git a/install_mysql.sh b/install_mysql.sh index 99afa36..e2dc66f 100755 --- a/install_mysql.sh +++ b/install_mysql.sh @@ -915,14 +915,14 @@ if $SYSTEMD_EXISTS ; then else # - Is Service exclusive controlled by systemd # - - if systemctl -t service list-unit-files \ - | grep -e "^mysql" \ + if systemctl -t service list-unit-files \ + | grep -e "^mysql" \ | grep -q -E "(enabled|disabled|generated)" 2> /devnull ; then - MYSQLD_SERVICE_FILE=$(systemctl -t service list-unit-files \ - | grep -e "^mysql" \ - | awk '{print$1}'\ - | head -1) + MYSQLD_SERVICE_FILE=$(systemctl -t service list-unit-files \ + | grep -e "^mysql" \ + | awk '{print$1}' \ + | head -1) fi fi