From b06ec92d30dbcbc3064e3600f769a252f265af7a Mon Sep 17 00:00:00 2001 From: Christoph Date: Sat, 28 Apr 2018 02:21:22 +0200 Subject: [PATCH] install_mysql.sh: Fix some errors at splittet (\) commands. --- install_mysql.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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