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