summaryrefslogtreecommitdiffstats
path: root/partition.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'partition.cpp')
-rw-r--r--partition.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/partition.cpp b/partition.cpp
index 7cf0ab3fb..f81748d72 100644
--- a/partition.cpp
+++ b/partition.cpp
@@ -902,7 +902,9 @@ bool TWPartition::Mount(bool Display_Error) {
LOGINFO("Successfully mounted ecryptfs for '%s'\n", Mount_Point.c_str());
Is_Decrypted = true;
}
- } else {
+ } else if (Mount_Point == EXPAND(TW_EXTERNAL_STORAGE_PATH)) {
+ if (Is_Decrypted)
+ LOGINFO("Mounting external storage, '%s' is not encrypted\n", Mount_Point.c_str());
Is_Decrypted = false;
}
#endif