From 78fcc92d6a741e7fc6de825f737fc77b75d0d5d6 Mon Sep 17 00:00:00 2001 From: James Swineson Date: Tue, 9 Apr 2019 18:17:53 +0800 Subject: [PATCH] add comment --- menhera.sh | 2 ++ 1 file changed, 2 insertions(+) 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