efreet: Remove unneeded flag

SVN revision: 47544
This commit is contained in:
Sebastian Dransfeld 2010-03-28 20:36:37 +00:00
parent c37ca95819
commit 44aea1a452
1 changed files with 1 additions and 1 deletions

View File

@ -2149,7 +2149,7 @@ efreet_desktop_update_cache_dirs(void *data __UNUSED__)
if (!ecore_file_mkpath(file)) return;
snprintf(file, sizeof(file), "%s/.efreet/lock", efreet_home_dir_get());
fd = open(file, O_CREAT | O_TRUNC | O_RDONLY, S_IRUSR | S_IWUSR);
fd = open(file, O_CREAT | O_RDONLY, S_IRUSR | S_IWUSR);
if (fd < 0) return;
/* TODO: Retry update cache later */
if (flock(fd, LOCK_EX | LOCK_NB) < 0) goto error;