fixed a typo in EUID check

This commit is contained in:
Jaromil 2015-11-25 17:41:17 +01:00
parent 97399f6b91
commit cecde4e116

2
tomb
View File

@ -210,7 +210,7 @@ _whoami() {
_verbose "Identified caller: ::1 username:: (::2 UID:::::3 GID::)" $_USER $_UID $_GID
# Update USERNAME accordingly if possible
[[ EUID == 0 && $_USER != $USERNAME ]] && {
[[ $EUID == 0 && $_USER != $USERNAME ]] && {
_verbose "Updating USERNAME from '::1 USERNAME::' to '::2 _USER::')" $USERNAME $_USER
USERNAME=$_USER
}