aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/efreet
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-04-13 09:47:24 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2015-04-13 09:47:24 +0900
commit701504c7a4d4ad83142f1a8f8902eb3e633c37b5 (patch)
tree5c9081bd6b7d0230e1ee285fc6bdf079335e145e /src/bin/efreet
parentefreetd - fix loading of extra_icons.dirs and icon.exts to not lose char (diff)
downloadefl-701504c7a4d4ad83142f1a8f8902eb3e633c37b5.tar.gz
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.
Diffstat (limited to 'src/bin/efreet')
-rw-r--r--src/bin/efreet/efreetd_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/efreet/efreetd_cache.c b/src/bin/efreet/efreetd_cache.c
index 76be7bff1a..8c6bab62a3 100644
--- a/src/bin/efreet/efreetd_cache.c
+++ b/src/bin/efreet/efreetd_cache.c
@@ -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;