mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-08 12:44:23 +01:00
Fix bug#1162: error creating home directory
This commit is contained in:
parent
4d693033ab
commit
c9271f6d58
@ -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-12-08 Werner Koch <wk@g10code.com>
|
||||
|
||||
* keyring.h: Include userids.h.
|
||||
|
@ -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…
x
Reference in New Issue
Block a user