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=1260120e94946a7e8bfa04e680c5227de6357a81;hpb=82d8f33c8cbb7188f1975fac31e957328d84502c;p=scpubgit%2FSystem-Introspector.git diff --git a/lib/System/Introspector/Probe/Users.pm b/lib/System/Introspector/Probe/Users.pm index 1260120..0b4047a 100644 --- a/lib/System/Introspector/Probe/Users.pm +++ b/lib/System/Introspector/Probe/Users.pm @@ -43,7 +43,7 @@ sub _gather_crontab { unless ($ok) { return {} if $err =~ m{^no crontab}i; - return { error => $err }; + return { __error__ => $err }; } return { body => $out }; } @@ -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 {