Loading fastboot/fastboot.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -1229,7 +1229,7 @@ static void reboot_to_userspace_fastboot() { static void CancelSnapshotIfNeeded() { static void CancelSnapshotIfNeeded() { std::string merge_status = "none"; std::string merge_status = "none"; if (fb->GetVar(FB_VAR_SNAPSHOT_UPDATE_STATUS, &merge_status) == fastboot::SUCCESS && if (fb->GetVar(FB_VAR_SNAPSHOT_UPDATE_STATUS, &merge_status) == fastboot::SUCCESS && merge_status != "none") { !merge_status.empty() && merge_status != "none") { fb->SnapshotUpdateCommand("cancel"); fb->SnapshotUpdateCommand("cancel"); } } } } Loading Loading
fastboot/fastboot.cpp +1 −1 Original line number Original line Diff line number Diff line Loading @@ -1229,7 +1229,7 @@ static void reboot_to_userspace_fastboot() { static void CancelSnapshotIfNeeded() { static void CancelSnapshotIfNeeded() { std::string merge_status = "none"; std::string merge_status = "none"; if (fb->GetVar(FB_VAR_SNAPSHOT_UPDATE_STATUS, &merge_status) == fastboot::SUCCESS && if (fb->GetVar(FB_VAR_SNAPSHOT_UPDATE_STATUS, &merge_status) == fastboot::SUCCESS && merge_status != "none") { !merge_status.empty() && merge_status != "none") { fb->SnapshotUpdateCommand("cancel"); fb->SnapshotUpdateCommand("cancel"); } } } } Loading