diff options
Diffstat (limited to 'g10/tdbio.c')
-rw-r--r-- | g10/tdbio.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/g10/tdbio.c b/g10/tdbio.c index 606194f53..282411e5d 100644 --- a/g10/tdbio.c +++ b/g10/tdbio.c @@ -508,7 +508,8 @@ tdbio_set_dbname( const char *new_dbname, int create ) *p = 0; if( access( fname, F_OK ) ) { try_make_homedir( fname ); - log_fatal( _("%s: directory does not exist!\n"), fname ); + if (access (fname, F_OK )) + log_fatal (_("%s: directory does not exist!\n"), fname); } *p = DIRSEP_C; |