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
|
||||
|
||||
USER_OPTION=""
|
||||
if test -w /
|
||||
if test "x$USER" = "xroot"
|
||||
then
|
||||
if test "$user" != "root" -o $SET_USER = 1
|
||||
then
|
||||
|
Loading…
x
Reference in New Issue
Block a user