add comment

This commit is contained in:
James Swineson 2019-04-09 18:17:53 +08:00
parent 34a5b324df
commit 78fcc92d6a

View file

@ -144,6 +144,8 @@ clear_processes() {
# in most cases the parent process of this script will be killed, so goodbye # in most cases the parent process of this script will be killed, so goodbye
} }
# main procedure
if [[ $EUID -ne 0 ]]; then if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root" echo "This script must be run as root"
exit 1 exit 1