summaryrefslogtreecommitdiff
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
parente05eb13f702c3addb4ac6261ff5a84f2cf4fd065 (diff)
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.
-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
512 512
513 ERR("Recursively monitor homedir! Remove cache and exit."); 513 ERR("Recursively monitor homedir! Remove cache and exit.");
514 snprintf(buf, sizeof(buf), "%s/efreet", efreet_cache_home_get()); 514 snprintf(buf, sizeof(buf), "%s/efreet", efreet_cache_home_get());
515 ecore_file_recursive_rm(buf); 515 if (!ecore_file_recursive_rm(buf)) ERR("Can't delete efreet cache dir");
516 exit(-1); 516 exit(-1);
517 } 517 }
518 return EINA_TRUE; 518 return EINA_TRUE;