pub fn invoke_cli_cleanup() -> Result<()> {
    let mut cmd = std::process::Command::new("rpm-ostree");
    cmd.arg("cleanup").arg("-p");
    let out = cmd.output().context("failed to run 'rpm-ostree' binary")?;
    if !out.status.success() {
        bail!(
            "rpm-ostree cleanup failed:\n{}",
            String::from_utf8_lossy(&out.stderr)
        )
    };
    Ok(())
}
/// CLI executor for cleaning up the pending deployment.
CLI executor for cleaning up the pending deployment.
CLI executor for cleaning up the pending deployment .
pub fn invoke_cli_cleanup() -> Result<()> {
    let mut cmd = std::process::Command::new("rpm-ostree");
    cmd.arg("cleanup").arg("-p");
    let out = cmd.output().context("failed to run 'rpm-ostree' binary")?;
    if !out.status.success() {
        bail!(
            "rpm-ostree cleanup failed:\n{}",
            String::from_utf8_lossy(&out.stderr)
        )
    };
    Ok(())
}
pub fn invoke_cli_cleanup ( ) -> Result < ( ) > { let mut cmd = std :: process :: Command :: new ( " " ) ; cmd . arg ( " " ) . arg ( " " ) ; let out = cmd . output ( ) . context ( " " ) ? ; if ! out . status . success ( ) { bail ! ( " \n " String from_utf8_lossy ( out stderr ) ) } ; Ok ( ( ) ) }
CLI executor for cleaning up the pending deployment.
CLI executor for cleaning up the pending deployment .