mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
fixed test for "root", on some installations / is mounted read-only
This commit is contained in:
@@ -204,7 +204,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
USER_OPTION=""
|
USER_OPTION=""
|
||||||
if test -w /
|
if test "x$USER" = "xroot"
|
||||||
then
|
then
|
||||||
if test "$user" != "root" -o $SET_USER = 1
|
if test "$user" != "root" -o $SET_USER = 1
|
||||||
then
|
then
|
||||||
|
Reference in New Issue
Block a user