diff options
author | Rob Landley <rob@landley.net> | 2016-01-19 18:03:17 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2016-01-19 18:03:17 -0600 |
commit | ee660c977371b3bfc184f3ca3a6b1c84dcaa1686 (patch) | |
tree | 48847cf03885e4098be05928ef5e07b77bb1fc3e | |
parent | 559f36cf91e0872b3cac80c8f3ccc9a91f3bb2d6 (diff) | |
download | toybox-ee660c977371b3bfc184f3ca3a6b1c84dcaa1686.tar.gz |
runcon needs to exec, not recurse.
-rw-r--r-- | toys/android/runcon.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |