snprintf(path, 256, "%s/%s.xml", TTS_ENGINE_INFO, pkgid);
if (0 == access(path, F_OK)) {
LOGD("Remove engine info xml(%s)", path);
- remove(path);
+ if (0 != remove(path)) {
+ LOGE("[ERROR] Fail to Remove engine info xml(%s)", path);
+ }
}
LOGD("===");
return 0;