bmc: updateCompleted: close

On success it resets the state.  On failure is also resets the state.

Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I6a7c3985cd86c70d4d61aba124f6824b5a451647
diff --git a/firmware_handler.cpp b/firmware_handler.cpp
index e6f0fee..fbabda0 100644
--- a/firmware_handler.cpp
+++ b/firmware_handler.cpp
@@ -679,12 +679,10 @@
             if (lastUpdateStatus == ActionStatus::failed)
             {
                 /* TODO: lOG something? */
+                std::fprintf(stderr, "Update failed\n");
             }
 
-            state = UpdateState::notYetStarted;
-            removeBlobId(updateBlobId);
-            removeBlobId(activeImageBlobId);
-            removeBlobId(activeHashBlobId);
+            abortProcess();
             break;
         default:
             break;