Skip to content

Commit

Permalink
Fix typo in cpio check
Browse files Browse the repository at this point in the history
  • Loading branch information
topjohnwu committed Jun 3, 2017
1 parent ef8d9be commit 532c6ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jni/magiskboot/cpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 532c6ca

Please sign in to comment.