Skip to content

Commit 4667123

Browse files
committed
sysroot: Log locking to stderr, not stdout
Otherwise we just completely break machine readability with `bootc status --format=json`. (We probably need a full audit to stop using `{,e}println!` globally) Signed-off-by: Colin Walters <[email protected]>
1 parent 1537946 commit 4667123

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ostree-ext/src/sysroot.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ impl SysrootLock {
4444
});
4545
}
4646
if !printed {
47-
println!("Waiting for sysroot lock...");
47+
eprintln!("Waiting for sysroot lock...");
4848
printed = true;
4949
}
5050
tokio::time::sleep(std::time::Duration::from_secs(3)).await;

0 commit comments

Comments
 (0)