summaryrefslogtreecommitdiff
path: root/scripts/mysqld_safe.sh
diff options
context:
space:
mode:
authortim@siva.hindu.god <>2004-11-02 17:53:25 -0700
committertim@siva.hindu.god <>2004-11-02 17:53:25 -0700
commitb0510c7fd46f462f9456d16cb8cba58d1dbe12c1 (patch)
tree4d42cfcc0328f842a6db1b61728953204bde676e /scripts/mysqld_safe.sh
parent22269d451af650f887a7679ba6fffe7577d1c007 (diff)
downloadmariadb-git-b0510c7fd46f462f9456d16cb8cba58d1dbe12c1.tar.gz
Portability fixes to mysqld_safe for non-Linux systems. Fix FIND_PROC
for Solaris test, and fix if @IS_LINUX@ test in mysqld_safe itself.
Diffstat (limited to 'scripts/mysqld_safe.sh')
-rw-r--r--scripts/mysqld_safe.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mysqld_safe.sh b/scripts/mysqld_safe.sh
index b9e7ce21f79..da7e06f6c05 100644
--- a/scripts/mysqld_safe.sh
+++ b/scripts/mysqld_safe.sh
@@ -315,7 +315,7 @@ do
break
fi
- if test @IS_LINUX@ -a $KILL_MYSQLD -eq 1
+ if @IS_LINUX@ && test $KILL_MYSQLD -eq 1
then
# Test if one process was hanging.
# This is only a fix for Linux (running as base 3 mysqld processes)