diff --git a/flamingo.go b/flamingo.go index ae9ef24..dd5531c 100644 --- a/flamingo.go +++ b/flamingo.go @@ -34,7 +34,7 @@ func FinalizeContextualization() error { return nil } -func HasRootPrivileges() bool { +func HasRootPrivileges() (bool, error) { // TODO(tmrts): Move privilege check to sys.nss package ent, err := sys.Execute("getent", "gshadow", "root") if err != nil {