Update install.sh

This commit is contained in:
Dimasssss
2026-05-15 01:32:37 +03:00
committed by GitHub
parent 08cde1a255
commit ad1bb5cc1a

View File

@@ -394,7 +394,7 @@ verify_common() {
if [ "$(id -u)" -eq 0 ]; then if [ "$(id -u)" -eq 0 ]; then
SUDO="" SUDO=""
if [ "$(id -u)" -ne 0 ]; then if [ "${USER:-}" != "root" ] && [ "${LOGNAME:-}" != "root" ]; then
die "$L_ERR_INCORR_ROOT_LOGIN" die "$L_ERR_INCORR_ROOT_LOGIN"
fi fi
else else