forked from enlightenment/efl
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:
parent
e05eb13f70
commit
701504c7a4
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue