version: don't show as error if we cannot write the version string
Change-Id: I0f90337b22f1c3392eb5bc7b846d60df82a4af8b
diff --git a/data.cpp b/data.cpp
index cdade08..fd6c11e 100755
--- a/data.cpp
+++ b/data.cpp
@@ -1107,7 +1107,7 @@
}
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);