* setfacl.c (setfacl): Fix bracketing in expression.

This commit is contained in:
Corinna Vinschen 2014-10-29 10:24:49 +00:00
parent 1a6fa5618a
commit d5b68452aa
2 changed files with 5 additions and 1 deletions

View File

@ -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.

View File

@ -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);