From 26774a02f9ea809bd8061dee11d1f78d524a0f90 Mon Sep 17 00:00:00 2001 From: bigbiff bigbiff Date: Sat, 29 Mar 2014 18:22:00 -0400 Subject: Stop printing Unable to mount to console if storage is removable. We will still print to recovery.log Change-Id: I19e3df2e977e09e222733f13324051334982b05d --- partition.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'partition.cpp') diff --git a/partition.cpp b/partition.cpp index 2ebb5c597..56cae1e08 100644 --- a/partition.cpp +++ b/partition.cpp @@ -1001,7 +1001,7 @@ bool TWPartition::Mount(bool Display_Error) { } } else { #endif - if (Display_Error) + if (!Removable && Display_Error) LOGERR("Unable to mount '%s'\n", Mount_Point.c_str()); else LOGINFO("Unable to mount '%s'\n", Mount_Point.c_str()); -- cgit v1.2.3