diff --git a/bin/v-make-separated-ip-for-email b/bin/v-make-separated-ip-for-email index 5fa9ee3e..8e6f8d48 100644 --- a/bin/v-make-separated-ip-for-email +++ b/bin/v-make-separated-ip-for-email @@ -9,6 +9,12 @@ # Variable&Function # #----------------------------------------------------------# +whoami=$(whoami) +if [ "$whoami" != "root" ]; then + echo "You must be root to execute this script" + exit 1 +fi + # Importing system environment source /etc/profile