Update to ONDK r29.2

This commit is contained in:
topjohnwu
2025-08-28 16:15:59 -07:00
parent c4e2985677
commit 484d53ef7e
17 changed files with 93 additions and 76 deletions
+2 -3
View File
@@ -127,11 +127,10 @@ pub unsafe extern "C" fn main(
log_err!("Cannot apply policy")?;
}
if let Some(file) = cli.save {
if !sepol.to_file(&file) {
if let Some(file) = cli.save
&& !sepol.to_file(&file) {
log_err!("Cannot dump policy to {}", file)?;
}
}
};
if res.is_ok() { 0 } else { 1 }
}