mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-12-07 09:03:24 +00:00
Fix uninstaller and build with 'all'
This commit is contained in:
@@ -492,7 +492,7 @@ void post_fs_data(int client) {
|
||||
// uninstaller
|
||||
if (access(UNINSTALLER, F_OK) == 0) {
|
||||
close(open(UNBLOCKFILE, O_RDONLY | O_CREAT));
|
||||
char *const command[] = { "sh", UNBLOCKFILE, NULL };
|
||||
char *const command[] = { "sh", "-c", "BOOTMODE=true sh " UNBLOCKFILE, NULL };
|
||||
run_command(NULL, "/system/bin/sh", command);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user