mirror of
https://github.com/kvorschk/Magisk.git
synced 2026-12-06 07:20:47 -05:00
Update to ONDK r29.2
This commit is contained in:
@@ -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 }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user