bmc: verificationCompleted: close: handle failure

Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I7efdc39998d4c61ec23af7eb5ed4062f0aedf190
diff --git a/firmware_handler.cpp b/firmware_handler.cpp
index fbabda0..f54ba25 100644
--- a/firmware_handler.cpp
+++ b/firmware_handler.cpp
@@ -661,7 +661,13 @@
             }
             else
             {
-                /* TODO: Verification failed, what now? */
+                /* Verification failed, and the host-tool knows this by calling
+                 * stat(), which triggered the state change to
+                 * verificationCompleted.
+                 *
+                 * Therefore, let's abort the process at this point.
+                 */
+                abortProcess();
             }
             break;
         case UpdateState::updatePending: