diff options
author | monty@hundin.mysql.fi <> | 2002-03-06 19:53:31 +0200 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2002-03-06 19:53:31 +0200 |
commit | fa38c84be7d989edd97e84c85904137cef3c70d4 (patch) | |
tree | 2b4665ab89a9c440f5e2f451d1d745df1c15288d /scripts/mysqld_safe.sh | |
parent | 4508fbb558b793cd23d7bb6a77b135130c071d88 (diff) | |
parent | 668d09cc5c4e0c9e7c180f2dfb521244f325cf3f (diff) | |
download | mariadb-git-fa38c84be7d989edd97e84c85904137cef3c70d4.tar.gz |
merge
Diffstat (limited to 'scripts/mysqld_safe.sh')
-rw-r--r-- | scripts/mysqld_safe.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mysqld_safe.sh b/scripts/mysqld_safe.sh index 5504d929ede..e6ecbf6f729 100644 --- a/scripts/mysqld_safe.sh +++ b/scripts/mysqld_safe.sh @@ -291,7 +291,7 @@ do I=1 while test "$I" -le "$numofproces" do - PROC=`ps xa | grep $ledir/$MYSQLD | grep -v "grep" | tail -1` + PROC=`ps xa | grep $ledir/$MYSQLD | grep -v "grep" | sed -n '$p'` for T in $PROC do break |