Fix typo in cpio check

This commit is contained in:
topjohnwu 2017-06-03 18:52:02 +08:00
parent ef8d9be633
commit 532c6caddf
1 changed files with 1 additions and 1 deletions

View File

@ -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));