efreet: Remove unneeded flag

SVN revision: 47543
This commit is contained in:
Sebastian Dransfeld 2010-03-28 20:36:26 +00:00
parent 5e33a5798f
commit c37ca95819
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ main()
/* lock process, so that we only run one copy of this program */
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) goto efreet_error;
if (flock(fd, LOCK_EX | LOCK_NB) < 0) goto efreet_error;