Commit 44c00123 authored by unknown's avatar unknown

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

parent 49e9743d
...@@ -261,13 +261,13 @@ else ...@@ -261,13 +261,13 @@ else
esac esac
fi fi
# Safeguard (relative paths, core dumps..)
cd $basedir
case "$mode" in case "$mode" in
'start') 'start')
# Start daemon # Start daemon
# Safeguard (relative paths, core dumps..)
cd $basedir
manager=$bindir/mysqlmanager manager=$bindir/mysqlmanager
if test -x $libexecdir/mysqlmanager if test -x $libexecdir/mysqlmanager
then then
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment