mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-12-23 02:28:58 +00:00
fixed a typo in EUID check
This commit is contained in:
parent
97399f6b91
commit
cecde4e116
2
tomb
2
tomb
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user