summaryrefslogtreecommitdiff
path: root/source3/lib/sysacls.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/sysacls.c')
-rw-r--r--source3/lib/sysacls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/sysacls.c b/source3/lib/sysacls.c
index ecf62f6e0e..ccae211942 100644
--- a/source3/lib/sysacls.c
+++ b/source3/lib/sysacls.c
@@ -781,7 +781,7 @@ int sys_acl_set_file(const char *name, SMB_ACL_TYPE_T type, SMB_ACL_T acl_d)
int sys_acl_set_fd(int fd, SMB_ACL_T acl_d)
{
- if (acl_sort(acl_d) {
+ if (acl_sort(acl_d) != 0) {
return -1;
}