mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 19:11:46 +01:00
to make sure we get the kill right on the different platforms
This commit is contained in:
parent
08b25e9901
commit
b8e9a612b3
1 changed files with 7 additions and 3 deletions
|
@ -257,9 +257,13 @@ if [ -f "$fs_ndb/$pidfile" ] ; then
|
|||
attempt=`expr $attempt + 1`
|
||||
done
|
||||
if [ "$kill_pids2" != "" ] ; then
|
||||
do_command="kill -9 $kill_pids2"
|
||||
echo "Failed to shutdown ndbcluster, executing "$do_command
|
||||
$do_command
|
||||
echo "Failed to shutdown ndbcluster, executing kill "$kill_pids2
|
||||
kill -9 -- $kill_pids2 2> /dev/null
|
||||
/bin/kill -9 -- $kill_pids2 2> /dev/null
|
||||
/usr/bin/kill -9 -- $kill_pids2 2> /dev/null
|
||||
kill -9 $kill_pids2 2> /dev/null
|
||||
/bin/kill -9 $kill_pids2 2> /dev/null
|
||||
/usr/bin/kill -9 $kill_pids2 2> /dev/null
|
||||
fi
|
||||
rm "$fs_ndb/$pidfile"
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue