* setfacl.c (setfacl): Fix bracketing in expression.
This commit is contained in:
parent
1a6fa5618a
commit
d5b68452aa
|
@ -1,3 +1,7 @@
|
|||
2014-10-29 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* setfacl.c (setfacl): Fix bracketing in expression.
|
||||
|
||||
2014-10-27 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* setfacl.c (usage): Add -b to require options.
|
||||
|
|
|
@ -385,7 +385,7 @@ setfacl (action_t action, const char *path, aclent_t *acls, int cnt)
|
|||
default:
|
||||
if ((lcnt = acl (path, GETACL, MAX_ACL_ENTRIES, lacl)) < 0
|
||||
|| (lcnt = modacl (lacl, lcnt, acls, cnt)) < 0
|
||||
|| (lcnt = addmissing (lacl, lcnt) < 0)
|
||||
|| (lcnt = addmissing (lacl, lcnt)) < 0
|
||||
|| (lcnt = acl (path, SETACL, lcnt, lacl)) < 0)
|
||||
{
|
||||
perror (prog_name);
|
||||
|
|
Loading…
Reference in New Issue