We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee78ea9 commit 8f49853Copy full SHA for 8f49853
META-INF/com/google/android/update-binary
@@ -117,11 +117,11 @@ process_all_modules() {
117
fi
118
119
# Check Magisk modules
120
- if [ -d "/data/adb/modules" ]; then
+ if [ -d "/data/adb/modules" ] && find "/data/adb/modules" -mindepth 1 -maxdepth 1 -type d | grep -q .; then
121
ui_print "- Found Magisk modules"
122
create_disable_files "/data/adb/modules"
123
found_modules=true
124
- fi
+fi
125
126
if ! $found_modules; then
127
ui_print "! No modules found in any location"
0 commit comments