Fix busybox installation

This commit is contained in:
topjohnwu 2017-09-15 13:34:53 +08:00
parent 4c9f5f4655
commit cdd5f9b628

View File

@ -51,7 +51,7 @@ public class DownloadBusybox extends ParallelTask<Void, Void, Void> {
e.printStackTrace();
}
if (busybox.exists()) {
getShell().su_raw(
getShell().su(
"rm -rf " + MagiskManager.BUSYBOXPATH,
"mkdir -p " + MagiskManager.BUSYBOXPATH,
"cp " + busybox + " " + MagiskManager.BUSYBOXPATH,