Update install.sh

This commit is contained in:
Dimasssss
2026-05-15 01:12:47 +03:00
committed by GitHub
parent 1fe621f743
commit 32613c8e68

View File

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