This commit is contained in:
Thomas von Dein
2017-08-16 12:39:42 +02:00
parent ad4ba756f3
commit 82358b608b

View File

@@ -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