From 532c6caddf22c915ef1e4e1b2f38d76575fb1de4 Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Sat, 3 Jun 2017 18:52:02 +0800 Subject: [PATCH] Fix typo in cpio check --- jni/magiskboot/cpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jni/magiskboot/cpio.c b/jni/magiskboot/cpio.c index 6765e9b8c..3c9815ba8 100644 --- a/jni/magiskboot/cpio.c +++ b/jni/magiskboot/cpio.c @@ -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));