diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-07-22 20:27:45 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-07-22 21:25:09 -0400 |
commit | d710aaf7a5d74afb3135f2f79080bd4715790c59 (patch) | |
tree | 61a4aa2fa9c02b0bd0eb7bbf37a386b29b02846c /src/shared/conf-parser.c | |
parent | 31b14fdb6f2f018a9d67c9303aac9903b4227dbd (diff) |
Use "return log_error_errno" in more places"
Diffstat (limited to 'src/shared/conf-parser.c')
-rw-r--r-- | src/shared/conf-parser.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/shared/conf-parser.c b/src/shared/conf-parser.c index d85ab5441e..7cf222e4d2 100644 --- a/src/shared/conf-parser.c +++ b/src/shared/conf-parser.c @@ -323,8 +323,7 @@ int config_parse(const char *unit, if (feof(f)) break; - log_error_errno(errno, "Failed to read configuration file '%s': %m", filename); - return -errno; + return log_error_errno(errno, "Failed to read configuration file '%s': %m", filename); } l = buf; |