summaryrefslogtreecommitdiffstats
path: root/data.cpp
diff options
context:
space:
mode:
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;