summaryrefslogtreecommitdiffstats
path: root/twinstall.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'twinstall.cpp')
-rwxr-xr-xtwinstall.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/twinstall.cpp b/twinstall.cpp
index 8bbafca30..d659b47b1 100755
--- a/twinstall.cpp
+++ b/twinstall.cpp
@@ -353,9 +353,9 @@ int TWinstall_zip(const char* path, int* wipe_cache) {
gui_msg("check_for_digest=Checking for Digest file...");
- if (!twrpDigestDriver::Check_File_Digest(Full_Filename)) {
- LOGERR("Aborting zip install: Digest verification failed\n");
- return INSTALL_CORRUPT;
+ if (*path != '@' && !twrpDigestDriver::Check_File_Digest(Full_Filename)) {
+ LOGERR("Aborting zip install: Digest verification failed\n");
+ return INSTALL_CORRUPT;
}
}