From: Robert 'phaylon' Sedlacek Date: Fri, 11 May 2012 17:24:35 +0000 (+0000) Subject: command invocation fix X-Git-Tag: v0.001_001~76 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=d2180c8cfa9baa4f03e1b591e9683a89c069721a;p=scpubgit%2FSystem-Introspector.git command invocation fix --- diff --git a/lib/System/Introspector/Users.pm b/lib/System/Introspector/Users.pm index 4510c6c..eeeb3a5 100644 --- a/lib/System/Introspector/Users.pm +++ b/lib/System/Introspector/Users.pm @@ -65,7 +65,7 @@ sub _gather_ssh_keys { sub _gather_user_groups { my ($self, $user) = @_; - my $groups = output_from_command "groups $user"; + my $groups = output_from_command [groups => $user]; return { list => [split m{\s+}, $groups] }; }