projects
/
scpubgit/System-Introspector.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
2f3044c
)
don't expect a list of data and a tail in case of an error
Robert 'phaylon' Sedlacek [Fri, 11 May 2012 19:01:58 +0000 (19:01 +0000)]
lib/System/Introspector/Sudoers.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/System/Introspector/Sudoers.pm
b/lib/System/Introspector/Sudoers.pm
index
89683d7
..
1351029
100644
(file)
--- a/
lib/System/Introspector/Sudoers.pm
+++ b/
lib/System/Introspector/Sudoers.pm
@@
-42,6
+42,8
@@
sub _gather_files {
}
return \@result;
};
+ return $file => $result
+ if ref $result eq 'HASH';
return $file => @$result;
}