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