aboutsummaryrefslogtreecommitdiffstats
path: root/g10/export.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/export.c')
-rw-r--r--g10/export.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/export.c b/g10/export.c
index acf38a7b7..0aa44f337 100644
--- a/g10/export.c
+++ b/g10/export.c
@@ -201,7 +201,7 @@ do_export (ctrl_t ctrl, strlist_t users, int secret, unsigned int options )
memset( &zfx, 0, sizeof zfx);
- rc = open_outfile (-1, NULL, 0, &out );
+ rc = open_outfile (-1, NULL, 0, !!secret, &out );
if (rc)
return rc;