diff options
author | Lennart Poettering <lennart@poettering.net> | 2020-04-23 14:50:07 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2020-04-23 14:50:07 +0200 |
commit | 0f7e4b2888840e7e6a702aa8ce5d3e3b2bc077ef (patch) | |
tree | 4b5ca01ba97d64ae62ea1a5757396bc29f5341dd /src/tmpfiles | |
parent | 2230e8f29ddb018697b9c3d13c1f522c62976e70 (diff) | |
download | systemd-0f7e4b2888840e7e6a702aa8ce5d3e3b2bc077ef.tar.gz |
sysusers,tmpfiles: always mention error when failing to replace specifiers
Diffstat (limited to 'src/tmpfiles')
-rw-r--r-- | src/tmpfiles/tmpfiles.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c index 6ab30cdecf..6f0dc2426e 100644 --- a/src/tmpfiles/tmpfiles.c +++ b/src/tmpfiles/tmpfiles.c @@ -2556,7 +2556,7 @@ static int parse_line(const char *fname, unsigned line, const char *buffer, bool if (r < 0) { if (IN_SET(r, -EINVAL, -EBADSLT)) *invalid_config = true; - return log_error_errno(r, "[%s:%u] Failed to replace specifiers: %s", fname, line, path); + return log_error_errno(r, "[%s:%u] Failed to replace specifiers in '%s': %m", fname, line, path); } r = patch_var_run(fname, line, &i.path); |