mirror of
https://github.com/telemt/telemt.git
synced 2026-05-13 15:21:44 +03:00
@@ -390,7 +390,7 @@ verify_common() {
|
|||||||
|
|
||||||
if [ "$(id -u)" -eq 0 ]; then
|
if [ "$(id -u)" -eq 0 ]; then
|
||||||
SUDO=""
|
SUDO=""
|
||||||
if [ "$USER" != "root" ]; then
|
if [ -n "${USER:-}" ] && [ "$USER" != "root" ]; then
|
||||||
die "$L_ERR_INCORR_ROOT_LOGIN"
|
die "$L_ERR_INCORR_ROOT_LOGIN"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user