version: don't show as error if we cannot write the version string
Change-Id: I0f90337b22f1c3392eb5bc7b846d60df82a4af8b
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user