Skip to content

Commit c0eb340

Browse files
rollback/composefs: Print whether we are reverting the queued rollback
Signed-off-by: Johan-Liebert1 <[email protected]>
1 parent f02c8c4 commit c0eb340

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

crates/lib/src/deploy.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -953,6 +953,12 @@ pub(crate) async fn composefs_rollback() -> Result<()> {
953953
BootType::Uki => rollback_composefs_uki(),
954954
}?;
955955

956+
if reverting {
957+
println!("Next boot: current deployment");
958+
} else {
959+
println!("Next boot: rollback deployment");
960+
}
961+
956962
Ok(())
957963
}
958964

0 commit comments

Comments
 (0)