Skip to content

Commit 72bd34b

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

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
@@ -944,6 +944,12 @@ pub(crate) async fn composefs_rollback() -> Result<()> {
944944
BootType::Uki => rollback_composefs_uki(),
945945
}?;
946946

947+
if reverting {
948+
println!("Next boot: current deployment");
949+
} else {
950+
println!("Next boot: rollback deployment");
951+
}
952+
947953
Ok(())
948954
}
949955

0 commit comments

Comments
 (0)