From bb7951ae9558d1af6ddbae443f215ba7b788414f Mon Sep 17 00:00:00 2001 From: Balasubramanian Kandasamy Date: Wed, 17 Jun 2015 11:04:13 +0200 Subject: [PATCH] Bug#21262883 - MYSQL-SYSTEMD-START SCRIPT ERROR WHEN USING OPTION DATADIR OR SIMILAR Fixed the syntax in mysql-systemd-start script --- packaging/rpm-oel/mysql-systemd-start | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }