use cache dir for data lock

SVN revision: 55414
This commit is contained in:
Sebastian Dransfeld 2010-12-09 14:01:34 +00:00
parent ea7834865e
commit a9e8e3c2c4
1 changed files with 1 additions and 1 deletions

View File

@ -770,7 +770,7 @@ efreet_desktop_write_cache_dirs_file(void)
if (!efreet_desktop_dirs) return 1;
snprintf(file, sizeof(file), "%s/.efreet/desktop_data.lock", efreet_home_dir_get());
snprintf(file, sizeof(file), "%s/desktop_data.lock", efreet_cache_home_get());
fd = open(file, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR);
if (fd < 0) return 0;
/* TODO: Retry update cache later */