Clear_Bootloader_Message(): Log non-fatal errors at level INFO.
This fixes a cosmetic issue on Samsung devices, namely that Clear_Bootloader_Message() returns an error reading the fstab, which actually doesn't matter, because the fstab has already been read and parsed by the time Clear_Bootloader_Message() is called. Change-Id: I35e508f24d81f66bdaa56006cece9082178c0ba9
This commit is contained in:
+1
-5
@@ -632,11 +632,7 @@ void TWFunc::Update_Log_File(void) {
|
||||
void TWFunc::Clear_Bootloader_Message() {
|
||||
std::string err;
|
||||
if (!clear_bootloader_message(&err)) {
|
||||
if (err == "no misc device set") {
|
||||
LOGINFO("%s\n", err.c_str());
|
||||
} else {
|
||||
LOGERR("%s\n", err.c_str());
|
||||
}
|
||||
LOGINFO("%s\n", err.c_str());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user