Commit 532c6cad authored by topjohnwu's avatar topjohnwu

Fix typo in cpio check

parent ef8d9be6
......@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment