fixed test for "root", on some installations / is mounted read-only
This commit is contained in:
parent
93b95819da
commit
36f5ff834d
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user