diff options
-rw-r--r-- | source3/lib/sysacls.c | 2 |
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; } |