1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-14 21:47:19 +02:00

Fix bug#1162

This commit is contained in:
Werner Koch 2009-12-15 10:26:17 +00:00
parent 47791192db
commit e1fe8b0432
2 changed files with 7 additions and 1 deletions

View file

@ -521,7 +521,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 = save_slash;