diff --git a/update.sh b/update.sh index c76f20bc..f300fd11 100755 --- a/update.sh +++ b/update.sh @@ -296,9 +296,7 @@ fi ################ # Got root? -myWHOAMI=$(whoami) -if [ "$myWHOAMI" != "root" ] - then +if (( $EUID != 0 )); then echo "Need to run as root ..." exit fi