efreed cache - fix coverity warning on rm cleanup on sanity check

sanity check didnt check return value of ecore_file_recursive_rm(). do
that. coverity should be happy now.
This commit is contained in:
Carsten Haitzler 2015-04-13 09:47:24 +09:00
parent e05eb13f70
commit 701504c7a4
1 changed files with 1 additions and 1 deletions

View File

@ -512,7 +512,7 @@ _check_recurse_monitor_sanity(Eina_Inarray *stack, const char *path, unsigned in
ERR("Recursively monitor homedir! Remove cache and exit.");
snprintf(buf, sizeof(buf), "%s/efreet", efreet_cache_home_get());
ecore_file_recursive_rm(buf);
if (!ecore_file_recursive_rm(buf)) ERR("Can't delete efreet cache dir");
exit(-1);
}
return EINA_TRUE;