fix: groupInfo: show group name in human-readable output

This commit is contained in:
Stéphane Lesimple 2023-03-29 16:04:02 +00:00 committed by Stéphane Lesimple
parent 1be7b2c3eb
commit f7f1514dd0

View file

@ -234,7 +234,7 @@ foreach my $groupData (@groups) {
sub print_group_info {
my %ret = @_;
my $groupName = $ret{'shortGroup'};
my $groupName = $ret{'group'};
osh_info("Group ${groupName}'s Owners are: "
. colored(@{$ret{'owners'}} ? join(" ", sort @{$ret{'owners'}}) : '-', 'red'))