7.0.4 #85
|
@ -19,9 +19,8 @@ done
|
||||||
}
|
}
|
||||||
|
|
||||||
# Check if user is root
|
# Check if user is root
|
||||||
if [ $(id -u) = 0 ]; then
|
if [ $UID != 0 ]; then
|
||||||
echo "Please don't run with root or sudo privileges!
|
echo You need to run this script as root or sudo rights!
|
||||||
> We'll request them when necessary."
|
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue