mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-10-29 21:55:25 +03:00
tmpfiles: Fix parse_acl error message
parse_acl() returns the error instead of setting errno.
This commit is contained in:
parent
32c3d7144c
commit
484adfd914
@ -689,7 +689,7 @@ static int get_acls_from_arg(Item *item) {
|
||||
* afterwards, so the mask can be added now if necessary. */
|
||||
r = parse_acl(item->argument, &item->acl_access, &item->acl_default, !item->force);
|
||||
if (r < 0)
|
||||
log_warning_errno(errno, "Failed to parse ACL \"%s\": %m. Ignoring",
|
||||
log_warning_errno(r, "Failed to parse ACL \"%s\": %m. Ignoring",
|
||||
item->argument);
|
||||
#else
|
||||
log_warning_errno(ENOSYS, "ACLs are not supported. Ignoring");
|
||||
|
Loading…
Reference in New Issue
Block a user