From 15174d9bc7279f631ba00e302837b44f4a301d05 Mon Sep 17 00:00:00 2001 From: Daniel Rosenberg Date: Mon, 21 Dec 2015 13:27:38 -0800 Subject: [PATCH] fastboot: correct set_active behavior Removed automatic reboot attached to set_active, and fixed documentation error. Change-Id: Idbb1639dc80870c17a6622dc78a7d78c88e268ab --- fastboot/fastboot.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/fastboot/fastboot.cpp b/fastboot/fastboot.cpp index 5b663668e..5eca84538 100644 --- a/fastboot/fastboot.cpp +++ b/fastboot/fastboot.cpp @@ -282,8 +282,6 @@ static void usage() { " getvar Display a bootloader variable.\n" " set_active Sets the active slot. If slots are\n" " not supported, this does nothing.\n" - " note: suffixes starting with a '-'\n" - " must use set_active -- \n" " boot [ [ ] ] Download and boot kernel.\n" " flash:raw boot [ [ ] ]\n" " Create bootimage and flash it.\n" @@ -1411,7 +1409,6 @@ int main(int argc, char **argv) std::string slot = verify_slot(transport, argv[1], false); fb_set_active(slot.c_str()); skip(2); - wants_reboot = true; } else if(!strcmp(*argv, "oem")) { argc = do_oem_command(argc, argv); } else if(!strcmp(*argv, "flashing")) {