updated root check command
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ $(id -u) = 0 ]; then
|
||||
if [[ $(id -u) = 0 ]]; then
|
||||
echo "Please do NOT run as root!"
|
||||
exit 1
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# add aliases
|
||||
|
||||
Reference in New Issue
Block a user