diff --git a/mysql/install.sh b/mysql/install.sh index f0eb1a3..deb3d03 100755 --- a/mysql/install.sh +++ b/mysql/install.sh @@ -21,7 +21,7 @@ read YESNO case $YESNO in "y" | "Y") - if [ $UID != 0 ] ; then + if [ $(id -ru) != 0 ] ; then echo "You should be root for that!" exit fi