Commit db060385 authored by topjohnwu's avatar topjohnwu

Fix Magisk installation

parent ecb33d31
...@@ -215,7 +215,7 @@ public abstract class MagiskInstaller { ...@@ -215,7 +215,7 @@ public abstract class MagiskInstaller {
return false; 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", "KEEPFORCEENCRYPT=%b KEEPVERITY=%b sh update-binary sh boot_patch.sh %s",
Config.keepEnc, Config.keepVerity, srcBoot)) Config.keepEnc, Config.keepVerity, srcBoot))
.to(console, logs).exec().isSuccess()) .to(console, logs).exec().isSuccess())
......
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