summaryrefslogtreecommitdiff
path: root/support-files
diff options
context:
space:
mode:
authorunknown <mtaylor@qualinost.(none)>2007-04-12 11:16:07 -0700
committerunknown <mtaylor@qualinost.(none)>2007-04-12 11:16:07 -0700
commit44c001234daf358e3961793169f1dd4966439823 (patch)
treef525b53f94cfd045ef88291c11968efeadbf1cf8 /support-files
parent49e9743d1a40bca3fb2579d727ac407119680780 (diff)
downloadmariadb-git-44c001234daf358e3961793169f1dd4966439823.tar.gz
BUG#27367 mysql.server should be LSB init script compliant
Moved cd $basedir to live in the start section, as it only applies to the start functionality and breaks the restart task
Diffstat (limited to 'support-files')
-rw-r--r--support-files/mysql.server.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/support-files/mysql.server.sh b/support-files/mysql.server.sh
index b587bfdcdd7..c68d30daafb 100644
--- a/support-files/mysql.server.sh
+++ b/support-files/mysql.server.sh
@@ -261,13 +261,13 @@ else
esac
fi
-# Safeguard (relative paths, core dumps..)
-cd $basedir
-
case "$mode" in
'start')
# Start daemon
+ # Safeguard (relative paths, core dumps..)
+ cd $basedir
+
manager=$bindir/mysqlmanager
if test -x $libexecdir/mysqlmanager
then