Fix Magisk installation

This commit is contained in:
topjohnwu 2019-03-22 02:48:42 -04:00
parent ecb33d3176
commit db06038548

View File

@ -215,7 +215,7 @@ public abstract class MagiskInstaller {
return false;
}
if (Shell.sh("cd " + installDir, Utils.fmt(
if (!Shell.sh("cd " + installDir, Utils.fmt(
"KEEPFORCEENCRYPT=%b KEEPVERITY=%b sh update-binary sh boot_patch.sh %s",
Config.keepEnc, Config.keepVerity, srcBoot))
.to(console, logs).exec().isSuccess())