Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
omertuc committed Sep 5, 2024
1 parent 9c14a8a commit b31fc2b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -945,9 +945,11 @@ async fn run_from_opt(opt: Opt) -> Result<()> {
//
let sysroot = ostree::Sysroot::new_default();
sysroot.set_mount_namespace_in_use();

sysroot.load(gio::Cancellable::NONE)?;
crate::deploy::wipe_ostree(&sysroot).await
sysroot
.write_deployments(&[], gio::Cancellable::NONE)
.context("removing deployments")?;
Ok(())
}
},
}
Expand Down

0 comments on commit b31fc2b

Please sign in to comment.