Skip to content

Commit b93a14b

Browse files
rollback/composefs: Print whether we are reverting the queued rollback
Signed-off-by: Johan-Liebert1 <pragyanpoudyal41999@gmail.com>
1 parent 7a09546 commit b93a14b

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

crates/lib/src/deploy.rs

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

951+
if reverting {
952+
println!("Next boot: current deployment");
953+
} else {
954+
println!("Next boot: rollback deployment");
955+
}
956+
951957
Ok(())
952958
}
953959

0 commit comments

Comments
 (0)