fix [[ not found

This commit is contained in:
ducoterra
2018-11-25 16:26:15 -05:00
parent c0ddc4cf1c
commit 9a3a4bed6f

View File

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