Commit 30e45f86 authored by topjohnwu's avatar topjohnwu

Remove unnecessary workaround

parent 434efec8
...@@ -330,9 +330,6 @@ void su_daemon_handler(int client, struct ucred *credential) { ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment