diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-09-04 09:16:23 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-09-11 18:46:13 +1000 |
commit | 6d2b1ef71d5e0b61559c99d58857ce533a036044 (patch) | |
tree | 9fad432c00d8690b8124544f839b047a12971b09 /source3/lib/privileges.c | |
parent | aefe60da8c6a5e48d807fa2e64d332b67fae25b8 (diff) | |
download | samba-6d2b1ef71d5e0b61559c99d58857ce533a036044.tar.gz |
libcli/security Remove 'always true' return from se_priv_put_all_privileges
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source3/lib/privileges.c')
-rw-r--r-- | source3/lib/privileges.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/lib/privileges.c b/source3/lib/privileges.c index af4c0966f77..62ed0a35e0a 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 ); } |