commit | ab4723f85f04d2f181a003434b82f739f363fcf9 | [log] [tgz] |
---|---|---|
author | Daniel Zheng <zhengdaniel@google.com> | Wed Apr 26 17:57:22 2023 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Apr 26 17:57:22 2023 +0000 |
tree | 7b292af40cd2e82ebc385f132ff5f2405bac2b5d | |
parent | f022b2eb41671eb8b620d0a739ab1e7aef0e16a4 [diff] | |
parent | 77af6affd8ff78c612a47e9261258c7369764bfc [diff] |
Merge "Removing {userspace} from reboot task'"
diff --git a/fastboot/task.cpp b/fastboot/task.cpp index 054c1ed..ce46e91 100644 --- a/fastboot/task.cpp +++ b/fastboot/task.cpp
@@ -65,7 +65,7 @@ : reboot_target_(reboot_target), fp_(fp){}; void RebootTask::Run() { - if ((reboot_target_ == "userspace" || reboot_target_ == "fastboot")) { + if (reboot_target_ == "fastboot") { if (!is_userspace_fastboot()) { reboot_to_userspace_fastboot(); fp_->fb->WaitForDisconnect();