mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Fix bug#1162: error creating home directory
This commit is contained in:
parent
4d693033ab
commit
c9271f6d58
2 changed files with 8 additions and 2 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue