mirror of
https://github.com/kvorschk/Magisk.git
synced 2026-12-05 03:20:46 -05:00
Use execve directly
This commit is contained in:
@@ -403,6 +403,6 @@ int magisk_proxy_main(int argc, char *argv[]) {
|
||||
|
||||
// Tell magiskd to remount rootfs
|
||||
setenv("REMOUNT_ROOT", "1", 1);
|
||||
execv("/sbin/magisk", argv);
|
||||
execve("/sbin/magisk", argv, environ);
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user