diff --git a/lib/services/root_api.dart b/lib/services/root_api.dart index 86d44a39e3..39fe5086e4 100644 --- a/lib/services/root_api.dart +++ b/lib/services/root_api.dart @@ -145,9 +145,9 @@ class RootAPI { final String mountScript = ''' #!/system/bin/sh # Mount using Magisk mirror, if available. - MAGISKTMP="$( magisk --path )" || MAGISKTMP=/sbin - MIRROR="${'$'}MAGISKTMP/.magisk/mirror" - if [ ! -f ${'$'}MIRROR ]; then + MAGISKTMP="\$( magisk --path )" || MAGISKTMP=/sbin + MIRROR="\$MAGISKTMP/.magisk/mirror" + if [ ! -f \$MIRROR ]; then MIRROR="" fi