diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-09-08 23:03:38 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-09-09 08:20:20 +0200 |
commit | ece174c5439021e32ebcc858842de9586072c006 (patch) | |
tree | b469235d6c4b195a6b53c7c5d97c0e516bfb4bc6 /src/core/main.c | |
parent | 76ef789d264f9eb7d7624b994aa6eead1dacfac4 (diff) |
tree-wide: drop {} from one-line if blocks
Patch via coccinelle.
Diffstat (limited to 'src/core/main.c')
-rw-r--r-- | src/core/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/main.c b/src/core/main.c index 091af6a9df..9aaf244e71 100644 --- a/src/core/main.c +++ b/src/core/main.c @@ -1204,12 +1204,11 @@ static int status_welcome(void) { "PRETTY_NAME", &pretty_name, "ANSI_COLOR", &ansi_color, NULL); - if (r == -ENOENT) { + if (r == -ENOENT) r = parse_env_file("/usr/lib/os-release", NEWLINE, "PRETTY_NAME", &pretty_name, "ANSI_COLOR", &ansi_color, NULL); - } if (r < 0 && r != -ENOENT) log_warning_errno(r, "Failed to read os-release file: %m"); |