mirror of
https://github.com/systemd/systemd.git
synced 2025-03-25 18:50:18 +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
Notes:
Lennart Poettering
2015-05-21 17:08:57 +02:00
Backport: bugfix
@ -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…
x
Reference in New Issue
Block a user