Commit 80dcbc6f authored by unknown's avatar unknown

fixed test for "root", on some installations / is mounted read-only

parent 719b1c5d
...@@ -204,7 +204,7 @@ else ...@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment