summaryrefslogtreecommitdiffstats
path: root/partitionmanager.cpp
diff options
context:
space:
mode:
authorJames Christopher Adduono <jc@adduono.com>2016-02-29 21:08:11 +0100
committerDees Troy <dees_troy@teamw.in>2016-03-03 18:05:46 +0100
commitfddbdfa45fdf6fb078291a72c38f29f130d48786 (patch)
treed3312f98804a55a7d258ff70ba385d45b743b33c /partitionmanager.cpp
parentMerge code from upstream libtar + bug fixes (diff)
downloadandroid_bootable_recovery-fddbdfa45fdf6fb078291a72c38f29f130d48786.tar
android_bootable_recovery-fddbdfa45fdf6fb078291a72c38f29f130d48786.tar.gz
android_bootable_recovery-fddbdfa45fdf6fb078291a72c38f29f130d48786.tar.bz2
android_bootable_recovery-fddbdfa45fdf6fb078291a72c38f29f130d48786.tar.lz
android_bootable_recovery-fddbdfa45fdf6fb078291a72c38f29f130d48786.tar.xz
android_bootable_recovery-fddbdfa45fdf6fb078291a72c38f29f130d48786.tar.zst
android_bootable_recovery-fddbdfa45fdf6fb078291a72c38f29f130d48786.zip
Diffstat (limited to 'partitionmanager.cpp')
-rw-r--r--partitionmanager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/partitionmanager.cpp b/partitionmanager.cpp
index e244aac79..521079963 100644
--- a/partitionmanager.cpp
+++ b/partitionmanager.cpp
@@ -1039,7 +1039,8 @@ void TWPartitionManager::Set_Restore_Files(string Restore_Name) {
Part->Backup_FileName.resize(Part->Backup_FileName.size() - strlen(extn) + 3);
}
- Restore_List += Part->Backup_Path + ";";
+ if (!Part->Is_SubPartition)
+ Restore_List += Part->Backup_Path + ";";
}
closedir(d);