Fix white-space issues and macro expanding in mysql.init.in

This commit is contained in:
Honza Horak 2017-08-28 23:07:37 +02:00
parent 8ac654b88b
commit 84ceb88ce7
1 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@
exec="@bindir@/mysqld_safe"
prog="@DAEMON_NAME@"
# Set timeouts here so they can be overridden from /etc/sysconfig/@DAEMON_NAME@
# Set timeouts here so they can be overridden from @sysconfdir@/sysconfig/@DAEMON_NO_PREFIX@
STARTTIMEOUT=300
STOPTIMEOUT=60
@ -87,8 +87,8 @@ start(){
safe_pid=$!
# Wait until the daemon is up
su - $MYUSER -s /bin/bash -c "@libexecdir@/mysql-wait-ready '$safe_pid'"
ret=$?
su - $MYUSER -s /bin/bash -c "@libexecdir@/mysql-wait-ready '$safe_pid'"
ret=$?
if [ $ret -eq 0 ]; then
action $"Starting $prog: " /bin/true