summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2016-02-19 05:04:18 +0100
committerEthan Yonker <dees_troy@teamw.in>2016-02-19 05:04:18 +0100
commiteadfd2eb688ecd80fe591a0a1c0c00d7e00b1a40 (patch)
tree91e2043fadd699fac88e8d74a901ef26cd17bac6
parentminuitwrp: fix and hopefully speed up fbdev screen flipping (diff)
downloadandroid_bootable_recovery-eadfd2eb688ecd80fe591a0a1c0c00d7e00b1a40.tar
android_bootable_recovery-eadfd2eb688ecd80fe591a0a1c0c00d7e00b1a40.tar.gz
android_bootable_recovery-eadfd2eb688ecd80fe591a0a1c0c00d7e00b1a40.tar.bz2
android_bootable_recovery-eadfd2eb688ecd80fe591a0a1c0c00d7e00b1a40.tar.lz
android_bootable_recovery-eadfd2eb688ecd80fe591a0a1c0c00d7e00b1a40.tar.xz
android_bootable_recovery-eadfd2eb688ecd80fe591a0a1c0c00d7e00b1a40.tar.zst
android_bootable_recovery-eadfd2eb688ecd80fe591a0a1c0c00d7e00b1a40.zip
Diffstat (limited to '')
-rw-r--r--data.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/data.cpp b/data.cpp
index 48de223d2..fbdf6d266 100644
--- a/data.cpp
+++ b/data.cpp
@@ -593,7 +593,7 @@ void DataManager::SetBackupFolder()
SetValue("tw_storage_free_size", free_space);
string zip_path, zip_root, storage_path;
GetValue(TW_ZIP_LOCATION_VAR, zip_path);
- if (partition->Has_Data_Media)
+ if (partition->Has_Data_Media && !partition->Symlink_Mount_Point.empty())
storage_path = partition->Symlink_Mount_Point;
else
storage_path = partition->Storage_Path;