summaryrefslogtreecommitdiff
path: root/support-files
diff options
context:
space:
mode:
authorlenz@mysql.com <>2003-09-17 22:41:01 +0200
committerlenz@mysql.com <>2003-09-17 22:41:01 +0200
commitcaf23b6999b3c9788217176a7a123f3bd0ae13df (patch)
tree69f07fa5f93b77fe75785d0d9f9d366030218814 /support-files
parent33250a01babd50e23e6a648399df872e3dfcaeed (diff)
downloadmariadb-git-caf23b6999b3c9788217176a7a123f3bd0ae13df.tar.gz
- force the removal of /var/lock/subsys/mysql on MySQL shutdown
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 694e6fa8ebb..fe1f0de8477 100644
--- a/support-files/mysql.server.sh
+++ b/support-files/mysql.server.sh
@@ -178,7 +178,7 @@ case "$mode" in
# delete lock for RedHat / SuSE
if test -f /var/lock/subsys/mysql
then
- rm /var/lock/subsys/mysql
+ rm -f /var/lock/subsys/mysql
fi
else
echo "No mysqld pid file found. Looked for $pid_file."