Fix execution in Magisk binary for uninstallation
This commit is contained in:
parent
17684ed8a8
commit
b9a012c6e3
@ -492,8 +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", "-c", "BOOTMODE=true sh " UNBLOCKFILE, NULL };
|
||||
run_command(NULL, "/system/bin/sh", command);
|
||||
system("(BOOTMODE=true sh " UNINSTALLER ") &");
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user