X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fsystem%2Fadd_apache_site.sh;h=647b87b9d8a79460679ab302371c4abe75b72a70;hb=e855cd6aa2d75a11b18c923f9c9ceed8c59ce94a;hp=6be31c8c7b640f91edc98b59db0c309b7189b8dd;hpb=15c4171d9c405e62dbb29b1937861201473e6517;p=feisty_meow.git diff --git a/scripts/system/add_apache_site.sh b/scripts/system/add_apache_site.sh index 6be31c8c..647b87b9 100644 --- a/scripts/system/add_apache_site.sh +++ b/scripts/system/add_apache_site.sh @@ -127,7 +127,7 @@ echo chow path is now $chow_path # main body of script. -if (( $EUID != 0 )); then +if [[ $EUID != 0 ]]; then echo "This script must be run as root or sudo." exit 1 fi