summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorBalasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com>2015-06-17 11:04:13 +0200
committerBalasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com>2015-06-17 11:04:13 +0200
commitbb7951ae9558d1af6ddbae443f215ba7b788414f (patch)
tree37dabddd726c61fcb08128d39b35a70a7ac67869 /packaging
parent5768c0adf5f4cbc7036bfc14c81b9732f1c416b1 (diff)
downloadmariadb-git-bb7951ae9558d1af6ddbae443f215ba7b788414f.tar.gz
Bug#21262883 - MYSQL-SYSTEMD-START SCRIPT ERROR WHEN USING OPTION DATADIR OR SIMILAR
Fixed the syntax in mysql-systemd-start script
Diffstat (limited to 'packaging')
-rw-r--r--packaging/rpm-oel/mysql-systemd-start2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/rpm-oel/mysql-systemd-start b/packaging/rpm-oel/mysql-systemd-start
index 8670f889574..12a1b16db80 100644
--- a/packaging/rpm-oel/mysql-systemd-start
+++ b/packaging/rpm-oel/mysql-systemd-start
@@ -13,7 +13,7 @@ get_option () {
local option=$2
local default=$3
ret=$(/usr/bin/my_print_defaults $section | grep '^--'${option}'=' | cut -d= -f2-)
- [ -z $ret ] && ret=$default
+ [ -z "$ret" ] && ret=$default
echo $ret
}