mirror of
https://github.com/bol-van/zapret.git
synced 2025-01-07 17:00:34 +05:00
install_easy: checking privileges note
This commit is contained in:
parent
6aac71b401
commit
49027e141f
@ -33,6 +33,7 @@ exitp()
|
|||||||
|
|
||||||
require_root()
|
require_root()
|
||||||
{
|
{
|
||||||
|
echo \* checking privileges
|
||||||
[ $(id -u) -ne "0" ] && {
|
[ $(id -u) -ne "0" ] && {
|
||||||
echo root is required
|
echo root is required
|
||||||
exists sudo && exec sudo "$0"
|
exists sudo && exec sudo "$0"
|
||||||
|
Loading…
Reference in New Issue
Block a user