diff options
Diffstat (limited to 'src/journal/journald-server.c')
-rw-r--r-- | src/journal/journald-server.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/journal/journald-server.c b/src/journal/journald-server.c index 364ab0f113..855430a6ba 100644 --- a/src/journal/journald-server.c +++ b/src/journal/journald-server.c @@ -960,8 +960,7 @@ finish: if (r >= 0) rm_rf("/run/log/journal", false, true, false); - if (j) - sd_journal_close(j); + sd_journal_close(j); return r; } |