Update install.sh

Co-authored-by: Dimasssss <Dimasssss2000@gmail.com>
This commit is contained in:
Agrofx
2026-05-07 10:30:47 +03:00
committed by GitHub
parent df14762a12
commit 0fcf67ca34

View File

@@ -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