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
diff --git a/twrp-functions.cpp b/twrp-functions.cpp
index 694c9bb..8b00951 100755
--- a/twrp-functions.cpp
+++ b/twrp-functions.cpp
@@ -632,11 +632,7 @@
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());
}
}