summaryrefslogtreecommitdiffstats
path: root/partition.cpp
diff options
context:
space:
mode:
authorDees_Troy <dees_troy@teamw.in>2013-08-23 19:20:32 +0200
committerDees_Troy <dees_troy@teamw.in>2013-08-23 19:22:37 +0200
commit066eb30abf78bd2d52a23f3068936a6b67cd03d8 (patch)
treebc1b4fc46d692afd03a2a68f291663786d6a6776 /partition.cpp
parentRemove graphics.c from libguitwrp (diff)
downloadandroid_bootable_recovery-066eb30abf78bd2d52a23f3068936a6b67cd03d8.tar
android_bootable_recovery-066eb30abf78bd2d52a23f3068936a6b67cd03d8.tar.gz
android_bootable_recovery-066eb30abf78bd2d52a23f3068936a6b67cd03d8.tar.bz2
android_bootable_recovery-066eb30abf78bd2d52a23f3068936a6b67cd03d8.tar.lz
android_bootable_recovery-066eb30abf78bd2d52a23f3068936a6b67cd03d8.tar.xz
android_bootable_recovery-066eb30abf78bd2d52a23f3068936a6b67cd03d8.tar.zst
android_bootable_recovery-066eb30abf78bd2d52a23f3068936a6b67cd03d8.zip
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