install_easy: checking privileges note

This commit is contained in:
bol-van 2021-11-16 12:05:33 +03:00
parent 99b3b3f433
commit 6aac71b401

View File

@ -61,6 +61,7 @@ exitp()
require_root()
{
echo \* checking privileges
[ $(id -u) -ne "0" ] && {
echo root is required
exists sudo && exec sudo "$0"