summaryrefslogtreecommitdiff
path: root/fastboot/fastboot.cpp
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2019-12-10 18:11:13 -0800
committerYifan Hong <elsk@google.com>2019-12-10 18:12:55 -0800
commit712c32b2b954eb7cbb5360b2e0eed87d957cafec (patch)
tree42e1b3465aa62b9868adc87a632d6b985bab426c /fastboot/fastboot.cpp
parent1fd9c5568999d333630225071801f3e6bb905d7e (diff)
fastboot: Flashall does proper snapshot cancel
Fix typo. Test: flashall Change-Id: I54a51a489aef2e1de5e682f5e97b95b2278085ec
Diffstat (limited to 'fastboot/fastboot.cpp')
-rw-r--r--fastboot/fastboot.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fastboot/fastboot.cpp b/fastboot/fastboot.cpp
index cbd42b17e..7fdc28b3d 100644
--- a/fastboot/fastboot.cpp
+++ b/fastboot/fastboot.cpp
@@ -1226,7 +1226,7 @@ static void CancelSnapshotIfNeeded() {
std::string merge_status = "none";
if (fb->GetVar(FB_VAR_SNAPSHOT_UPDATE_STATUS, &merge_status) == fastboot::SUCCESS &&
merge_status != "none") {
- fb->SnapshotUpdateCommand("Cancel");
+ fb->SnapshotUpdateCommand("cancel");
}
}