summaryrefslogtreecommitdiff
path: root/support-files
diff options
context:
space:
mode:
authorunknown <tim@cane.mysql.fi>2000-12-28 20:12:39 +0200
committerunknown <tim@cane.mysql.fi>2000-12-28 20:12:39 +0200
commitc16a006f38c0798e537c32d4a88bcf33dcd3fa1c (patch)
tree9e114166776be443433376999b3d16ebcaa4f496 /support-files
parent80ed8761e13913ab4f0bce7b4b7407d4b644eeb6 (diff)
downloadmariadb-git-c16a006f38c0798e537c32d4a88bcf33dcd3fa1c.tar.gz
Portability fix.
support-files/mysql.server.sh: Use -f instead of -e to test for lock file.
Diffstat (limited to 'support-files')
-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 2fe27192762..83618d0124f 100644
--- a/support-files/mysql.server.sh
+++ b/support-files/mysql.server.sh
@@ -137,7 +137,7 @@ case "$mode" in
then echo " done"
fi
# delete lock for RedHat / SuSE
- if test -e /var/lock/subsys/mysql
+ if test -f /var/lock/subsys/mysql
then
rm /var/lock/subsys/mysql
fi