summaryrefslogtreecommitdiff
path: root/support-files/mysql.server.sh
diff options
context:
space:
mode:
authorcmiller@zippy.cornsilk.net <>2008-03-19 18:36:41 -0400
committercmiller@zippy.cornsilk.net <>2008-03-19 18:36:41 -0400
commit897f772c14befda8c4b052d6d73b8be710a9e30c (patch)
tree83a34fd6f7d2aaf388745a02d47eabe5453ccdb4 /support-files/mysql.server.sh
parent955983a1543f50000588f314844f4a53f9f503ea (diff)
downloadmariadb-git-897f772c14befda8c4b052d6d73b8be710a9e30c.tar.gz
Suggestion of Tim. Avoid unnecessary sleep.
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 be8a8bd741e..ac7a9c25ce6 100644
--- a/support-files/mysql.server.sh
+++ b/support-files/mysql.server.sh
@@ -155,7 +155,6 @@ wait_for_pid () {
i=0
avoid_race_condition="by checking again"
while test $i -ne $service_startup_timeout ; do
- sleep 1
case "$verb" in
'created')
@@ -191,6 +190,7 @@ wait_for_pid () {
echo $echo_n ".$echo_c"
i=`expr $i + 1`
+ sleep 1
done
if test -z "$i" ; then