mirror of
https://github.com/telemt/telemt.git
synced 2026-05-17 00:16:20 +03:00
Update install.sh
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user