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