Major rework, comply with shellcheck #80

Merged
Ark74 merged 28 commits from unstable into master 2022-05-21 01:07:03 +00:00
1 changed files with 3 additions and 4 deletions
Showing only changes of commit 3acc41dc7f - Show all commits

View File

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