From ab10ee20988390c80ba68e84608d215fd5ea3a87 Mon Sep 17 00:00:00 2001 From: Dees_Troy Date: Fri, 21 Sep 2012 14:27:30 -0400 Subject: Fix special partition handling --- partition.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'partition.cpp') diff --git a/partition.cpp b/partition.cpp index 063603933..bbcb48c70 100644 --- a/partition.cpp +++ b/partition.cpp @@ -148,7 +148,7 @@ bool TWPartition::Process_Fstab_Line(string Line, bool Display_Error) { // Do nothing } else { // Unhandled data - LOGI("Unhandled fstab information: '%s', %i\n", ptr, index); + LOGI("Unhandled fstab information: '%s', %i, line: '%s'\n", ptr, index, Line.c_str()); } } while (index < line_len && full_line[index] != '\0') @@ -1249,7 +1249,7 @@ bool TWPartition::Restore_Flash_Image(string restore_folder) { bool TWPartition::Update_Size(bool Display_Error) { bool ret = false; - if (!Can_Be_Mounted) + if (!Can_Be_Mounted && !Is_Encrypted) return false; if (Removable || Is_Encrypted) { -- cgit v1.2.3