`sync_acl` is a `bool` so `if (... && sync_acl)` is enough.