summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2014-02-05 04:57:39 +0100
committerEthan Yonker <dees_troy@teamw.in>2014-02-05 04:58:14 +0100
commita1aad1bd8c6bbb51c0122f619d0260635167a00c (patch)
tree939b74b52099309823d1c9fc4ebcbd328a73727d
parentRefactor twrpTar to use TarList (diff)
downloadandroid_bootable_recovery-a1aad1bd8c6bbb51c0122f619d0260635167a00c.tar
android_bootable_recovery-a1aad1bd8c6bbb51c0122f619d0260635167a00c.tar.gz
android_bootable_recovery-a1aad1bd8c6bbb51c0122f619d0260635167a00c.tar.bz2
android_bootable_recovery-a1aad1bd8c6bbb51c0122f619d0260635167a00c.tar.lz
android_bootable_recovery-a1aad1bd8c6bbb51c0122f619d0260635167a00c.tar.xz
android_bootable_recovery-a1aad1bd8c6bbb51c0122f619d0260635167a00c.tar.zst
android_bootable_recovery-a1aad1bd8c6bbb51c0122f619d0260635167a00c.zip
-rw-r--r--partition.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/partition.cpp b/partition.cpp
index 541289a0b..b79e774cb 100644
--- a/partition.cpp
+++ b/partition.cpp
@@ -1602,12 +1602,6 @@ bool TWPartition::Backup_Tar(string backup_folder) {
tar.setsize(Backup_Size);
if (tar.createTarFork() != 0)
return false;
- if (use_encryption)
- Full_FileName += "000";
- if (TWFunc::Get_File_Size(Full_FileName) == 0) {
- LOGERR("Backup file size for '%s' is 0 bytes.\n", Full_FileName.c_str());
- return false;
- }
return true;
}