mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
fix bug#1162.
This commit is contained in:
parent
6cb6c761a6
commit
03c414b650
2 changed files with 7 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue