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:
parent
5768c0adf5
commit
bb7951ae95
@ -13,7 +13,7 @@ get_option () {
|
|||||||
local option=$2
|
local option=$2
|
||||||
local default=$3
|
local default=$3
|
||||||
ret=$(/usr/bin/my_print_defaults $section | grep '^--'${option}'=' | cut -d= -f2-)
|
ret=$(/usr/bin/my_print_defaults $section | grep '^--'${option}'=' | cut -d= -f2-)
|
||||||
[ -z $ret ] && ret=$default
|
[ -z "$ret" ] && ret=$default
|
||||||
echo $ret
|
echo $ret
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user