journal: drop redundant condition

This commit is contained in:
Yu Watanabe 2018-06-25 13:36:49 +09:00
parent a5042ec4d7
commit 29bfb683a8
1 changed files with 1 additions and 1 deletions

View File

@ -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");