From: Yu Watanabe Date: Mon, 25 Jun 2018 04:36:49 +0000 (+0900) Subject: journal: drop redundant condition X-Git-Tag: v240~1051^2~8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=29bfb683a8c9d03f10db58b4e61351fd9048f270;p=thirdparty%2Fsystemd.git journal: drop redundant condition --- diff --git a/src/journal/journald-server.c b/src/journal/journald-server.c index 4f1550ec5b7..7a11feeb6a5 100644 --- a/src/journal/journald-server.c +++ b/src/journal/journald-server.c @@ -309,7 +309,7 @@ static int system_journal_open(Server *s, bool flush_requested) { server_add_acls(s->system_journal, 0); (void) cache_space_refresh(s, &s->system_storage); patch_min_use(&s->system_storage); - } else if (r < 0) { + } else { if (!IN_SET(r, -ENOENT, -EROFS)) log_warning_errno(r, "Failed to open system journal: %m");