mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-27 12:05:30 +00:00
Fix removing modules from images
This commit is contained in:
parent
1591f5a0ca
commit
2a22fa694e
@ -443,6 +443,7 @@ static int prepare_img() {
|
||||
continue;
|
||||
snprintf(buf, PATH_MAX, "%s/%s/remove", MOUNTPOINT, entry->d_name);
|
||||
if (access(buf, F_OK) == 0) {
|
||||
snprintf(buf, PATH_MAX, "%s/%s", MOUNTPOINT, entry->d_name);
|
||||
rm_rf(buf);
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user