whoops

Change-Id: Ided86fe1991e5d9d6a707465429ec35ccc09743a
diff --git a/install.c b/install.c
index 7ad1b2d..0b35ee7 100644
--- a/install.c
+++ b/install.c
@@ -245,8 +245,9 @@
     }
 
     if (firmware_type != NULL) {
+        int ret = handle_firmware_update(firmware_type, firmware_filename, zip);
         mzCloseZipArchive(zip);
-        return handle_firmware_update(firmware_type, firmware_filename, zip);
+        return ret;
     }
     return INSTALL_SUCCESS;
 }