summaryrefslogtreecommitdiffstats
path: root/src/tmpfiles
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-05-10 20:29:11 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-05-11 08:15:33 +0200
commit4b93699d65f506c6594f89d311cef91dd24bfeae (patch)
tree91da4d0f2d82bca20d3542872b80096dfcf7162b /src/tmpfiles
parentterminal-util: add a function that shows a pretty separator line (diff)
downloadsystemd-4b93699d65f506c6594f89d311cef91dd24bfeae.tar.xz
systemd-4b93699d65f506c6594f89d311cef91dd24bfeae.zip
tmpfiles: remove newline that shouldn't be there
We should really keep "else" branches together with their "if", hence drop the double newline here...
Diffstat (limited to 'src/tmpfiles')
-rw-r--r--src/tmpfiles/tmpfiles.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c
index 6e992ca3a9..46098c215c 100644
--- a/src/tmpfiles/tmpfiles.c
+++ b/src/tmpfiles/tmpfiles.c
@@ -2144,9 +2144,7 @@ static int parse_line(const char *fname, unsigned line, const char *buffer, bool
/* invalid quoting and such or an unknown specifier */
*invalid_config = true;
return log_error_errno(r, "[%s:%u] Failed to parse line: %m", fname, line);
- }
-
- else if (r < 2) {
+ } else if (r < 2) {
*invalid_config = true;
log_error("[%s:%u] Syntax error.", fname, line);
return -EIO;