Small improvements and bug fixes

This commit is contained in:
topjohnwu
2017-03-12 19:22:15 +08:00
parent 8833d21ac3
commit c421e45fa0
3 changed files with 12 additions and 16 deletions

View File

@@ -196,7 +196,7 @@ static void cpio_test(vector *v) {
vec_for_each(v, f) {
if (strcmp(f->filename, "sbin/launch_daemonsu.sh") == 0) {
if (!ret) ret = 2;
} else if (strcmp(f->filename, "magisk") == 0) {
} else if (strcmp(f->filename, "init.magisk.rc") == 0) {
ret = 1;
break;
}