colors, fixes

This commit is contained in:
2025-06-12 20:21:33 +00:00
parent 09ed42abc7
commit 6811313bf1
7 changed files with 74 additions and 22 deletions

View File

@@ -64,7 +64,7 @@ while read -r entity; do
etype="${entity_parts[0]}"
ename="${entity_parts[1]}"
eid="${entity_parts[2]}"
[ "$etype" != "user" ] && [ "$etype" != "group" ] && echo "ERROR: bad entity type" >&2 && exit 1
[ "$etype" != "user" ] && [ "$etype" != "group" ] && echo "ERROR: bad entity type $etype" >&2 && exit 1
# every user has their own primary group with id matching uid,
# so for each entry we need a usergroup