aboutsummaryrefslogtreecommitdiffstats
path: root/g10/openfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/openfile.c')
-rw-r--r--g10/openfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/openfile.c b/g10/openfile.c
index 99b81fe7b..2baf5a191 100644
--- a/g10/openfile.c
+++ b/g10/openfile.c
@@ -336,7 +336,7 @@ try_make_homedir( const char *fname )
* To cope with HOME, we do compare only the suffix if we see that
* the default homedir does start with a tilde.
*/
- if( opt.dry_run )
+ if( opt.dry_run || opt.no_homedir_creation )
return;
if ( ( *defhome == '~'