summaryrefslogtreecommitdiffstats
path: root/twrpDigestDriver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'twrpDigestDriver.cpp')
-rwxr-xr-xtwrpDigestDriver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/twrpDigestDriver.cpp b/twrpDigestDriver.cpp
index 4023c813d..074b6c3df 100755
--- a/twrpDigestDriver.cpp
+++ b/twrpDigestDriver.cpp
@@ -70,7 +70,7 @@ bool twrpDigestDriver::Check_File_Digest(const string& Filename) {
if (!TWFunc::Path_Exists(digestfile)) {
delete digest;
- if (Filename.find(".zip") == std::string::npos) {
+ if (Filename.find(".zip") == std::string::npos && Filename.find(".map") == std::string::npos) {
gui_msg(Msg(msg::kError, "no_digest_found=No digest file found for '{1}'. Please unselect Enable Digest verification to restore.")(Filename));
} else {
return true;