projects
/
scpubgit/System-Introspector.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
386a00c
)
map groups by name instead of gid
Robert 'phaylon' Sedlacek [Fri, 11 May 2012 21:46:03 +0000 (21:46 +0000)]
lib/System/Introspector/Groups.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/System/Introspector/Groups.pm
b/lib/System/Introspector/Groups.pm
index
15ea3b7
..
db6e358
100644
(file)
--- a/
lib/System/Introspector/Groups.pm
+++ b/
lib/System/Introspector/Groups.pm
@@
-17,7
+17,7
@@
sub gather {
$users = length($users)
? [split m{,}, $users]
: [];
- $group{ $gid } = {
+ $group{ $name } = {
name => $name,
gid => $gid,
users => $users,