Bug#21262883 - MYSQL-SYSTEMD-START SCRIPT ERROR WHEN USING OPTION DATADIR OR SIMILAR

Fixed the syntax in mysql-systemd-start script
This commit is contained in:
Balasubramanian Kandasamy 2015-06-17 11:04:13 +02:00
parent 5768c0adf5
commit bb7951ae95

View File

@ -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
}