add comment

This commit is contained in:
James Swineson 2019-04-09 18:17:53 +08:00
parent 34a5b324df
commit 78fcc92d6a
1 changed files with 2 additions and 0 deletions

View File

@ -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