fastboot: Flashall does proper snapshot cancel

Fix typo.
Test: flashall

Change-Id: I54a51a489aef2e1de5e682f5e97b95b2278085ec
This commit is contained in:
Yifan Hong 2019-12-10 18:11:13 -08:00
parent 1fd9c55689
commit 712c32b2b9

View file

@ -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");
}
}