mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-30 05:50:53 +03:00
install_easy: checking privileges note
This commit is contained in:
parent
99b3b3f433
commit
6aac71b401
@ -61,6 +61,7 @@ exitp()
|
||||
|
||||
require_root()
|
||||
{
|
||||
echo \* checking privileges
|
||||
[ $(id -u) -ne "0" ] && {
|
||||
echo root is required
|
||||
exists sudo && exec sudo "$0"
|
||||
|
Loading…
Reference in New Issue
Block a user