diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-07-22 20:27:45 -0400 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-06-16 10:13:01 +0200 |
commit | 66c622e4c2c1cbfb287033ce8045d0988ac6a78e (patch) | |
tree | bb10e42dce1b3951b3931604bc04a948dccb33ac /src/shared | |
parent | 4da9c491f22937fad26adb18cb74e3bd48c7dc17 (diff) |
Use "return log_error_errno" in more places"
Diffstat (limited to 'src/shared')
-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 94b0078df..8e6fffe18 100644 --- a/src/shared/conf-parser.c +++ b/src/shared/conf-parser.c @@ -322,8 +322,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; |