summaryrefslogtreecommitdiffstats
path: root/twrpTar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'twrpTar.cpp')
-rw-r--r--twrpTar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/twrpTar.cpp b/twrpTar.cpp
index 39117331f..d86e13382 100644
--- a/twrpTar.cpp
+++ b/twrpTar.cpp
@@ -1463,7 +1463,7 @@ int twrpTar::entryExists(string entry) {
}
unsigned long long twrpTar::get_size() {
- if (TWFunc::Path_Exists(tarfn) && !part_settings->adbbackup) {
+ if (part_settings->adbbackup || TWFunc::Path_Exists(tarfn)) {
LOGINFO("Single archive\n");
return uncompressedSize(tarfn);
} else {