version: don't show as error if we cannot write the version string

Change-Id: I0f90337b22f1c3392eb5bc7b846d60df82a4af8b
This commit is contained in:
bigbiff
2021-09-29 19:04:31 -04:00
parent 8f71b5a7ec
commit 13017c6e35
+1 -1
View File
@@ -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);