summaryrefslogtreecommitdiff
path: root/support-files/mysql.server.sh
diff options
context:
space:
mode:
authorTerje Rosten <terje.rosten@oracle.com>2016-12-06 08:35:26 +0100
committerTerje Rosten <terje.rosten@oracle.com>2016-12-06 08:54:22 +0100
commit9ccd55466d1384865768663dd6bf2b04e11ba774 (patch)
tree2922c1481f9128b7be1f3236371368b8749055c9 /support-files/mysql.server.sh
parentdafbdc788a1fe551990c736daaf2a39998f4cbc0 (diff)
downloadmariadb-git-9ccd55466d1384865768663dd6bf2b04e11ba774.tar.gz
BUG#13788154 INIT.D MYSQL SCRIPT CREATED BY MYSQL SOLARIS PACKAGE FAILS TO RUN DUE TO USE OF PIDOF
pidof is Linuxism, prefer pgrep on other UNIX systems.
Diffstat (limited to 'support-files/mysql.server.sh')
-rw-r--r--support-files/mysql.server.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/support-files/mysql.server.sh b/support-files/mysql.server.sh
index 909d33f8770..cb13d2f10ba 100644
--- a/support-files/mysql.server.sh
+++ b/support-files/mysql.server.sh
@@ -359,7 +359,7 @@ case "$mode" in
fi
else
# Try to find appropriate mysqld process
- mysqld_pid=`pidof $libexecdir/mysqld`
+ mysqld_pid=`@PIDOF@ $libexecdir/mysqld`
# test if multiple pids exist
pid_count=`echo $mysqld_pid | wc -w`