From ee660c977371b3bfc184f3ca3a6b1c84dcaa1686 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Tue, 19 Jan 2016 18:03:17 -0600 Subject: runcon needs to exec, not recurse. --- toys/android/runcon.c | 1 + 1 file changed, 1 insertion(+) (limited to 'toys/android') diff --git a/toys/android/runcon.c b/toys/android/runcon.c index c2f71e2d..8831cbfb 100644 --- a/toys/android/runcon.c +++ b/toys/android/runcon.c @@ -23,5 +23,6 @@ void runcon_main(void) if (setexeccon(context)) perror_exit("Could not set context to %s", context); + toys.stacktop = 0; xexec(++toys.optargs); } -- cgit v1.2.3