summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/privileges.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/lib/privileges.c b/source3/lib/privileges.c
index af4c0966f7..62ed0a35e0 100644
--- a/source3/lib/privileges.c
+++ b/source3/lib/privileges.c
@@ -488,9 +488,7 @@ bool grant_all_privileges( const struct dom_sid *sid )
{
uint64_t mask;
- if (!se_priv_put_all_privileges(&mask)) {
- return False;
- }
+ se_priv_put_all_privileges(&mask);
return grant_privilege_bitmap( sid, mask );
}