From 32613c8e681bd5486b509f9eb7b54bdcbf8bcabe Mon Sep 17 00:00:00 2001 From: Dimasssss Date: Fri, 15 May 2026 01:12:47 +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 cad8ca7..eec79b9 100644 --- a/install.sh +++ b/install.sh @@ -392,7 +392,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