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
This commit is contained in:
mtaylor@qualinost.(none) 2007-04-12 11:16:07 -07:00
parent 7caf1843ee
commit 99c5f418af

View File

@ -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