mirror of
https://github.com/kvorschk/Magisk.git
synced 2026-12-05 23:14:03 -05:00
Make argh directly parse into Utf8CString
This commit is contained in:
@@ -754,7 +754,7 @@ impl Display for CpioEntry {
|
||||
}
|
||||
}
|
||||
|
||||
pub(crate) fn cpio_commands(file: &Utf8CStr, cmds: &mut Vec<String>) -> LoggedResult<()> {
|
||||
pub(crate) fn cpio_commands(file: &Utf8CStr, cmds: &Vec<String>) -> LoggedResult<()> {
|
||||
let mut cpio = if file.exists() {
|
||||
Cpio::load_from_file(file)?
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user