Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 712c32b2 authored by Yifan Hong's avatar Yifan Hong
Browse files

fastboot: Flashall does proper snapshot cancel

Fix typo.
Test: flashall

Change-Id: I54a51a489aef2e1de5e682f5e97b95b2278085ec
parent 1fd9c556
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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");
    }
}