🐛 Fixed check-root error on alpine systems
This commit is contained in:
parent
93f42dc430
commit
06ff683bb2
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ export FAKE_PATH=/opt/fakeos # System location
|
|||
|
||||
|
||||
#--------[ Check Root ]--------#
|
||||
if [ "$EUID" -ne 0 ]; then
|
||||
if [ "$EUID" -ne 0 ] || [ "$(whoami)" != "root" ]; then
|
||||
export FAKE_SUDO="sudo"
|
||||
export FAKE_BTL=""
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue