From 6aac71b401225959b63113d80c0df8346f4cc7c5 Mon Sep 17 00:00:00 2001 From: bol-van Date: Tue, 16 Nov 2021 12:05:33 +0300 Subject: [PATCH] install_easy: checking privileges note --- install_easy.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install_easy.sh b/install_easy.sh index b21530a..d3827a1 100755 --- a/install_easy.sh +++ b/install_easy.sh @@ -61,6 +61,7 @@ exitp() require_root() { + echo \* checking privileges [ $(id -u) -ne "0" ] && { echo root is required exists sudo && exec sudo "$0"