Normalized digest check before installing zip
Change-Id: I5a3e82f103e7a80800be7790f1c8dc33c76413da
diff --git a/gui/action.cpp b/gui/action.cpp
index 1212026..87e9f30 100755
--- a/gui/action.cpp
+++ b/gui/action.cpp
@@ -403,7 +403,7 @@
if (simulate) {
simulate_progress_bar();
} else {
- ret_val = TWinstall_zip(filename.c_str(), wipe_cache, (bool) DataManager::GetIntValue(TW_SKIP_DIGEST_CHECK_VAR));
+ ret_val = TWinstall_zip(filename.c_str(), wipe_cache, (bool) !DataManager::GetIntValue(TW_SKIP_DIGEST_CHECK_ZIP_VAR));
PartitionManager.Unlock_Block_Partitions();
// Now, check if we need to ensure TWRP remains installed...
struct stat st;