diff --git a/menhera.sh b/menhera.sh index 1337198..86de721 100755 --- a/menhera.sh +++ b/menhera.sh @@ -144,6 +144,8 @@ clear_processes() { # in most cases the parent process of this script will be killed, so goodbye } +# main procedure + if [[ $EUID -ne 0 ]]; then echo "This script must be run as root" exit 1