summaryrefslogtreecommitdiffstats
path: root/toolbox/stop.c
diff options
context:
space:
mode:
Diffstat (limited to 'toolbox/stop.c')
-rw-r--r--toolbox/stop.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/toolbox/stop.c b/toolbox/stop.c
index 460f377..ed9a293 100644
--- a/toolbox/stop.c
+++ b/toolbox/stop.c
@@ -5,12 +5,11 @@
int stop_main(int argc, char *argv[])
{
- char buf[1024];
-
if(argc > 1) {
property_set("ctl.stop", argv[1]);
} else{
/* defaults to stopping the common services */
+ property_set("ctl.stop", "zygote_secondary");
property_set("ctl.stop", "zygote");
property_set("ctl.stop", "surfaceflinger");
}