From 84ceb88ce754fa5f905748ecd9f0988e16d0d76b Mon Sep 17 00:00:00 2001 From: Honza Horak Date: Mon, 28 Aug 2017 23:07:37 +0200 Subject: [PATCH] Fix white-space issues and macro expanding in mysql.init.in --- mysql.init.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mysql.init.in b/mysql.init.in index 983e50d..6ae046c 100644 --- a/mysql.init.in +++ b/mysql.init.in @@ -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