From 8cb68a18cc36ab8e47b8834723f3a65ea360974f Mon Sep 17 00:00:00 2001 From: notaz Date: Sat, 16 Jan 2016 17:10:52 +0200 Subject: [PATCH 1/1] unset ld env before running command suggested by Hooka --- loader/host.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/loader/host.c b/loader/host.c index 9532347..0ac1de4 100644 --- a/loader/host.c +++ b/loader/host.c @@ -138,6 +138,9 @@ void host_forced_exit(int status) printf("forced exit...\n"); if (g_argv != NULL) { + unsetenv("LD_PRELOAD"); + unsetenv("LD_LIBRARY_PATH"); + snprintf(cmd, sizeof(cmd), "killall %s", g_argv[0]); system(cmd); usleep(300000); -- 2.39.2