Skip to content

Commit 8da218e

Browse files
ukriu5ec1cff
andcommitted
Update userspace/ksud/src/boot_patch.rs
Co-authored-by: 5ec1cff <[email protected]>
1 parent ae4a717 commit 8da218e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

userspace/ksud/src/boot_patch.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ fn do_cpio_cmd(magiskboot: &Path, workdir: &Path, cpio_path: &Path, cmd: &str) -
159159
.stdout(Stdio::null())
160160
.stderr(Stdio::null())
161161
.arg("cpio")
162-
.arg(cpio_path.as_ref())
162+
.arg(cpio_path)
163163
.arg(cmd)
164164
.status()?;
165165
ensure!(status.success(), "magiskboot cpio {} failed", cmd);

0 commit comments

Comments
 (0)