diff --git a/configure-stormux.sh b/configure-stormux.sh index 51c59db..59d423d 100755 --- a/configure-stormux.sh +++ b/configure-stormux.sh @@ -22,6 +22,12 @@ #--code-- +# Do not run as root. +if [[ "$(whoami)" == "root" ]]; then + echo "Please run configure-stormux as your user, not as root." + exit 0 +fi + # For audible sudo prompts: unset sudoFlags if [[ -x /etc/audibleprompt.sh ]]; then