mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-23 18:15:30 +00:00
Fix typo in cpio check
This commit is contained in:
parent
ef8d9be633
commit
532c6caddf
@ -203,7 +203,7 @@ static void cpio_test(struct vector *v) {
|
||||
ret |= OTHER_PATCH;
|
||||
}
|
||||
if (strcmp(f->filename, "init.magisk.rc") == 0)
|
||||
ret |= OTHER_PATCH;
|
||||
ret |= MAGISK_PATCH;
|
||||
}
|
||||
cpio_vec_destroy(v);
|
||||
exit((ret & OTHER_PATCH) ? OTHER_PATCH : (ret & MAGISK_PATCH));
|
||||
|
Loading…
Reference in New Issue
Block a user