diff --git a/izebra-linux-oneshot.sh b/izebra-linux-oneshot.sh index 877e500..da72fdf 100644 --- a/izebra-linux-oneshot.sh +++ b/izebra-linux-oneshot.sh @@ -2,7 +2,7 @@ #Linux Onboarding Oneshot script for izebra networks. #Installs fish, starship, and sets up some shell tweaks that are nice to have. #Check script is running as root -if (whoami != root) +if [ "$EUID" -ne 0 ] then echo "Please run as Root" exit 1 fi