snprintf(path, 256, "%s/%s.xml", STT_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 emove engine info xml(%s)", path);
+ }
}
LOGD("===");
return 0;