diff --git a/app/src/main/java/com/topjohnwu/magisk/core/utils/ShellInit.kt b/app/src/main/java/com/topjohnwu/magisk/core/utils/ShellInit.kt index c138d8ded..866875e80 100644 --- a/app/src/main/java/com/topjohnwu/magisk/core/utils/ShellInit.kt +++ b/app/src/main/java/com/topjohnwu/magisk/core/utils/ShellInit.kt @@ -42,7 +42,7 @@ class ShellInit : Shell.Initializer() { if (shell.isRoot) { add("export MAGISKTMP=\$(magisk --path)/.magisk") // Test if we can properly execute stuff in /data - Info.noDataExec = !shell.newJob().add("$localBB true").exec().isSuccess + Info.noDataExec = !shell.newJob().add("$localBB sh -c \"$localBB true\"").exec().isSuccess } if (Info.noDataExec) {