Commit 8997f20f authored by Mostafa Hussein's avatar Mostafa Hussein Committed by Anel Husakovic

use -f with pgrep

pgrep will not be able to get th pid using the full path which is $libexec/mysqld unless -f is being used
parent 399d012c
......@@ -386,7 +386,7 @@ case "$mode" in
fi
else
# Try to find appropriate mysqld process
mysqld_pid=`pgrep $libexecdir/mysqld`
mysqld_pid=`pgrep -f $libexecdir/mysqld`
# test if multiple pids exist
pid_count=`echo $mysqld_pid | wc -w`
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment