Skip to content

Commit

Permalink
ksud: Fix relative boot image path
Browse files Browse the repository at this point in the history
  • Loading branch information
tiann committed Jan 16, 2024
1 parent 7b63e09 commit 1e676e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion userspace/ksud/src/boot_patch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ pub fn patch(

if let Some(image) = image {
ensure!(image.exists(), "boot image not found");
bootimage = image;
bootimage = std::fs::canonicalize(image)?;
} else {
let mut slot_suffix =
utils::getprop("ro.boot.slot_suffix").unwrap_or_else(|| String::from(""));
Expand Down

0 comments on commit 1e676e5

Please sign in to comment.