diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-04-09 13:12:26 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-04-09 13:13:07 +0200 |
commit | 71044f609b829d802e0eb81270e13b4f55d76476 (patch) | |
tree | b8e48576ba8d9a480e35235decf010152caa3071 /src | |
parent | 34f645360325c4a986f85eaea7655b986d754251 (diff) |
tmpfiles: properly return error code from path_set_acl()
Diffstat (limited to 'src')
-rw-r--r-- | src/tmpfiles/tmpfiles.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c index f207f8d4b4..d34de70e1d 100644 --- a/src/tmpfiles/tmpfiles.c +++ b/src/tmpfiles/tmpfiles.c @@ -734,10 +734,10 @@ static int path_set_acl(const char *path, acl_type_t type, acl_t acl, bool modif r = acl_set_file(path, type, dup); if (r < 0) - return -log_error_errno(errno, - "Setting %s ACL \"%s\" on %s failed: %m", - type == ACL_TYPE_ACCESS ? "access" : "default", - strna(t), path); + return log_error_errno(errno, + "Setting %s ACL \"%s\" on %s failed: %m", + type == ACL_TYPE_ACCESS ? "access" : "default", + strna(t), path); return 0; } |