fix: admin user checking

This commit is contained in:
Gustavo "Guz" L. de Mello
2024-01-25 19:41:48 -03:00
parent f6c8d3d7fa
commit b89fd480bb

View File

@@ -222,7 +222,7 @@ in
username $username \
/
else
if [[ "$($user list | grep "$username" | $awk '{print $4}')" == "true" ]]; then
if [[ "$($user list | grep "$username" | $awk '{print $5}')" == "true" ]]; then
$gum log --structured \
--time timeonly \
--level warn "Undeclared user is a ADMIN, ignoring" \