Skip to content

Commit a931b7e

Browse files
committed
fix(console): fix build error with journald enabled
Signed-off-by: Eliza Weisman <[email protected]>
1 parent 24f25db commit a931b7e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

console/src/config.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,8 @@ impl Config {
130130
#[cfg(all(feature = "tracing-journald", target_os = "linux"))]
131131
let (journald, should_fmt) = {
132132
let journald = tracing_journald::layer().ok();
133-
(journald, journald.is_some())
133+
let should_fmt = journald.is_none();
134+
(journald, should_fmt)
134135
};
135136

136137
#[cfg(not(all(feature = "tracing-journald", target_os = "linux")))]

0 commit comments

Comments
 (0)