From 13017c6e3520e56709ad14783ff8b4de0f708c64 Mon Sep 17 00:00:00 2001 From: bigbiff Date: Wed, 29 Sep 2021 19:04:31 -0400 Subject: [PATCH] version: don't show as error if we cannot write the version string Change-Id: I0f90337b22f1c3392eb5bc7b846d60df82a4af8b --- data.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data.cpp b/data.cpp index cdade083..fd6c11e8 100755 --- a/data.cpp +++ b/data.cpp @@ -1107,7 +1107,7 @@ void DataManager::Output_Version(void) } FILE *fp = fopen(verPath.c_str(), "w"); if (fp == NULL) { - gui_msg(Msg(msg::kError, "error_opening_strerr=Error opening: '{1}' ({2})")(verPath)(strerror(errno))); + LOGINFO("Unable to open: %s. Data may be unmounted. Error: %s\n", verPath.c_str(), strerror(errno)); return; } strcpy(version, TW_VERSION_STR);