diff --git a/includes/gs-root.sh b/includes/gs-root.sh index 2b959ca..7c6b1d0 100644 --- a/includes/gs-root.sh +++ b/includes/gs-root.sh @@ -48,7 +48,7 @@ function new_root_check { LOCALADMIN="" else # Check Sudo - SUDOCHECK=$(groups ${CURRENTUSER} | grep 'sudo') + SUDOCHECK=$(groups ${CURRENTUSER} | grep -e 'sudo' -e 'wheel') if [ "$SUDOCHECK" == "" ] then LOCALADMIN="nosudo"