From 0fcf67ca347a61da048f41af300e2014aa05d5da Mon Sep 17 00:00:00 2001 From: Agrofx <58386168+agrofx1@users.noreply.github.com> Date: Thu, 7 May 2026 10:30:47 +0300 Subject: [PATCH] Update install.sh Co-authored-by: Dimasssss --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index acd9625..7ba2961 100644 --- a/install.sh +++ b/install.sh @@ -390,7 +390,7 @@ verify_common() { if [ "$(id -u)" -eq 0 ]; then SUDO="" - if [ "$USER" != "root" ]; then + if [ -n "${USER:-}" ] && [ "$USER" != "root" ]; then die "$L_ERR_INCORR_ROOT_LOGIN" fi else