Fix OSDK original directory not restored if bundle validation fails

This commit is contained in:
Ruize Tang
2024-12-09 16:56:25 +08:00
committed by Tate, Hongliang Tian
parent 858e95ed4d
commit 7601509e6e
3 changed files with 42 additions and 4 deletions

View File

@ -239,6 +239,7 @@ fn build_kernel_elf(
}
info!("Building kernel ELF using command: {:#?}", command);
info!("Building directory: {:?}", std::env::current_dir().unwrap());
let status = command.status().unwrap();
if !status.success() {