aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/efreet
diff options
context:
space:
mode:
authorSebastian Dransfeld <sebastian.dransfeld@sintef.no>2013-06-21 10:00:20 +0200
committerSebastian Dransfeld <sebastian.dransfeld@sintef.no>2013-06-21 10:00:20 +0200
commitebcd97cc938851352642eb42e3c5bc43ee288631 (patch)
tree9437633f5b3bd8cbdd3c370a21decb7ff11d19ad /src/bin/efreet
parentefreet: Low priority for cache rebuild (diff)
downloadefl-ebcd97cc938851352642eb42e3c5bc43ee288631.tar.gz
efreet: Create cache dir in efreet_cache_init
efreetd used efreet functions before efreet init which fails.
Diffstat (limited to 'src/bin/efreet')
-rw-r--r--src/bin/efreet/efreetd_cache.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/bin/efreet/efreetd_cache.c b/src/bin/efreet/efreetd_cache.c
index c286b13db0..23ff1ab656 100644
--- a/src/bin/efreet/efreetd_cache.c
+++ b/src/bin/efreet/efreetd_cache.c
@@ -494,7 +494,6 @@ Eina_Bool
cache_init(void)
{
char **argv;
- char buf[PATH_MAX];
ecore_app_args_get(NULL, &argv);
@@ -505,13 +504,6 @@ cache_init(void)
PACKAGE_DATA_DIR,
PACKAGE_DATA_DIR);
- snprintf(buf, sizeof(buf), "%s/efreet", efreet_cache_home_get());
- if (!ecore_file_mkpath(buf))
- {
- ERR("Failed to create directory '%s'", buf);
- goto error;
- }
-
cache_exe_del_handler = ecore_event_handler_add(ECORE_EXE_EVENT_DEL,
cache_exe_del_cb, NULL);
if (!cache_exe_del_handler)