summaryrefslogtreecommitdiffstats
path: root/twrpTar.cpp
diff options
context:
space:
mode:
authorbigbiff bigbiff <bigbiff@teamw.in>2017-03-20 23:53:53 +0100
committerbigbiff bigbiff <bigbiff@teamw.in>2017-04-23 20:37:22 +0200
commitb5ecaad27a358a525d4f25282ca8aacd55bd4cae (patch)
treecb2291ab0060265e19f19562e8b3e28423b91626 /twrpTar.cpp
parent3.1.0 (diff)
downloadandroid_bootable_recovery-b5ecaad27a358a525d4f25282ca8aacd55bd4cae.tar
android_bootable_recovery-b5ecaad27a358a525d4f25282ca8aacd55bd4cae.tar.gz
android_bootable_recovery-b5ecaad27a358a525d4f25282ca8aacd55bd4cae.tar.bz2
android_bootable_recovery-b5ecaad27a358a525d4f25282ca8aacd55bd4cae.tar.lz
android_bootable_recovery-b5ecaad27a358a525d4f25282ca8aacd55bd4cae.tar.xz
android_bootable_recovery-b5ecaad27a358a525d4f25282ca8aacd55bd4cae.tar.zst
android_bootable_recovery-b5ecaad27a358a525d4f25282ca8aacd55bd4cae.zip
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 {