add comment
This commit is contained in:
parent
34a5b324df
commit
78fcc92d6a
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue