diff options
-rw-r--r-- | init/reboot.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/init/reboot.cpp b/init/reboot.cpp index 0643f2306..0a048908a 100644 --- a/init/reboot.cpp +++ b/init/reboot.cpp | |||
@@ -462,10 +462,8 @@ bool HandlePowerctlMessage(const std::string& command) { | |||
462 | } | 462 | } |
463 | } | 463 | } |
464 | } else if (command == "thermal-shutdown") { // no additional parameter allowed | 464 | } else if (command == "thermal-shutdown") { // no additional parameter allowed |
465 | // run_fsck is false to avoid delay | ||
465 | cmd = ANDROID_RB_THERMOFF; | 466 | cmd = ANDROID_RB_THERMOFF; |
466 | // Do not queue "shutdown" trigger since we want to shutdown immediately | ||
467 | DoReboot(cmd, command, reboot_target, run_fsck); | ||
468 | return true; | ||
469 | } else { | 467 | } else { |
470 | command_invalid = true; | 468 | command_invalid = true; |
471 | } | 469 | } |