fix [[ not found
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
################################################################################
|
||||
|
||||
# check if root
|
||||
if [[ $EUID -ne 0 ]]; then
|
||||
if [ $EUID -ne 0 ]; then
|
||||
echo -e "This script must be run as root"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user