X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FSystem%2FIntrospector%2FProbe%2FUsers.pm;h=0b4047ace998993ab475c135e7ea53c9137002a9;hb=1b608727eb3a7c5c9b54193d1b537aa51dbf8352;hp=6c1a82a92c5b08d32bcb6596936e8bad8817e959;hpb=0c7501ff43ac490c870a8da0618ee0cffeb56a8f;p=scpubgit%2FSystem-Introspector.git diff --git a/lib/System/Introspector/Probe/Users.pm b/lib/System/Introspector/Probe/Users.pm index 6c1a82a..0b4047a 100644 --- a/lib/System/Introspector/Probe/Users.pm +++ b/lib/System/Introspector/Probe/Users.pm @@ -78,7 +78,7 @@ sub _gather_ssh_keys { sub _gather_user_groups { my ($self, $user) = @_; my $groups = output_from_command [groups => $user]; - return { list => [split m{\s+}, $groups] }; + return [split m{\s+}, $groups]; } sub _deparse_htpasswd_line {