mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-25 21:17:37 +00:00
Remove unnecessary workaround
This commit is contained in:
parent
434efec860
commit
30e45f863d
@ -330,9 +330,6 @@ void su_daemon_handler(int client, struct ucred *credential) {
|
|||||||
setenv("SHELL", ctx.req.shell, 1);
|
setenv("SHELL", ctx.req.shell, 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const char *ld_path = getenv("LD_LIBRARY_PATH");
|
|
||||||
if (ld_path && strncmp(ld_path, ":/apex/com.android.runtime/lib", 30) == 0)
|
|
||||||
unsetenv("LD_LIBRARY_PATH");
|
|
||||||
|
|
||||||
// Unblock all signals
|
// Unblock all signals
|
||||||
sigset_t block_set;
|
sigset_t block_set;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user