diff --git a/jni/magiskhide/hide.c b/jni/magiskhide/hide.c index 870807d3e..67fb8dbff 100644 --- a/jni/magiskhide/hide.c +++ b/jni/magiskhide/hide.c @@ -45,7 +45,7 @@ int hideMagisk() { // First unmount the dummy skeletons and the cache mounts for(i = mount_size - 1; i >= 0; --i) { if (strstr(mount_list[i], "tmpfs /system") || strstr(mount_list[i], "tmpfs /vendor") - || (strstr(mount_list[i], cache_block) && strstr(mount_list[i], "/system")) ) { + || (strstr(mount_list[i], cache_block) && strstr(mount_list[i], "/system/")) ) { sscanf(mount_list[i], "%*s %512s", buffer); lazy_unmount(buffer); }