diff --git a/bin/v-install-wordpress b/bin/v-install-wordpress index b5578dc9..8e60dc6f 100644 --- a/bin/v-install-wordpress +++ b/bin/v-install-wordpress @@ -8,6 +8,12 @@ # Variable&Function # #----------------------------------------------------------# +whoami=$(whoami) +if [ "$whoami" != "root" ]; then + echo "You must be root to execute this script" + exit 1 +fi + # Argument definition domain=$1