mirror of
https://github.com/MariaDB/server.git
synced 2026-05-07 23:54:31 +02:00
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:
parent
49e9743d1a
commit
44c001234d
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue