From ad1bb5cc1a493092c563ecb18d1c6463cee3e0c0 Mon Sep 17 00:00:00 2001 From: Dimasssss Date: Fri, 15 May 2026 01:32:37 +0300 Subject: [PATCH] Update install.sh --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 371b4f2..78c0678 100644 --- a/install.sh +++ b/install.sh @@ -394,7 +394,7 @@ verify_common() { if [ "$(id -u)" -eq 0 ]; then SUDO="" - if [ "$(id -u)" -ne 0 ]; then + if [ "${USER:-}" != "root" ] && [ "${LOGNAME:-}" != "root" ]; then die "$L_ERR_INCORR_ROOT_LOGIN" fi else