We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62eaa50 commit 47d7713Copy full SHA for 47d7713
flamingo.go
@@ -34,7 +34,7 @@ func FinalizeContextualization() error {
34
return nil
35
}
36
37
-func HasRootPrivileges() bool {
+func HasRootPrivileges() (bool, error) {
38
// TODO(tmrts): Move privilege check to sys.nss package
39
ent, err := sys.Execute("getent", "gshadow", "root")
40
if err != nil {
0 commit comments