🐛 Fixed check-root error on alpine systems

This commit is contained in:
Geoff Murphy 2025-05-24 11:46:31 +10:00
parent 93f42dc430
commit 06ff683bb2

View file

@ -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