Commit 229a7728 authored by Philip Withnall's avatar Philip Withnall Committed by Ray Strode

util: Split out helper method for getting admin group IDs

This introduces one small functional change: if any of the groups in
`EXTRA_ADMIN_GROUPS` can’t be resolved using `getgrnam()`, an error will
now be thrown. Previously, it would be ignored.

Other than that, this introduces no functional changes and is just
intended as a code cleanup.
Signed-off-by: Philip Withnall's avatarPhilip Withnall <>
parent dfecf170
Pipeline #141661 passed with stage
in 1 minute and 9 seconds