summaryrefslogtreecommitdiffstats
path: root/agent/gpg-agent.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2010-08-26 10:47:42 +0200
committerWerner Koch <wk@gnupg.org>2010-08-26 10:47:42 +0200
commita400cfe14eebd960d12829f642c183d0ca424f26 (patch)
treeeec981956a3ab9f5c73deae52308893861f295f1 /agent/gpg-agent.c
parentChanged option names. (diff)
downloadgnupg2-a400cfe14eebd960d12829f642c183d0ca424f26.tar.xz
gnupg2-a400cfe14eebd960d12829f642c183d0ca424f26.zip
.
Diffstat (limited to 'agent/gpg-agent.c')
-rw-r--r--agent/gpg-agent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/gpg-agent.c b/agent/gpg-agent.c
index df5afad36..71b0274bb 100644
--- a/agent/gpg-agent.c
+++ b/agent/gpg-agent.c
@@ -1100,7 +1100,7 @@ main (int argc, char **argv )
{
estream_t fp;
- fp = es_fopen (env_file_name, "w");
+ fp = es_fopen (env_file_name, "w,mode=-rw");
if (!fp)
log_error (_("error creating `%s': %s\n"),
env_file_name, strerror (errno));