1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-01 22:28:02 +02:00

fix bug#1162.

This commit is contained in:
Werner Koch 2009-12-15 10:20:10 +00:00
parent 6cb6c761a6
commit 03c414b650
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-12-15 Werner Koch <wk@g10code.com>
* tdbio.c (tdbio_set_dbname): Do not call log_fatal after creating
the directory. Fixes bug#1169. Reported by Daniel Leidert.
2009-09-28 Werner Koch <wk@g10code.com>
* trustdb.c (get_validity_info): Take care of a NULL PK. Fixes

View File

@ -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;