mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
gpg: Make failing to create a directory a soft error.
* g10/tofu.c (getdb): Don't exit if we can't create the directory. Just return an error. -- Signed-off-by: Neal H. Walfield <neal@g10code.com>
This commit is contained in:
parent
c3bb9fccb7
commit
eb8a0b051f
1 changed files with 1 additions and 1 deletions
|
@ -574,7 +574,7 @@ getdb (struct db *dbs, const char *name, enum db_type type)
|
|||
{
|
||||
log_error (_("unable to create directory %s/%s/%s/%s"),
|
||||
opt.homedir, "tofu.d", type_str, prefix);
|
||||
g10_exit (1);
|
||||
goto out;
|
||||
}
|
||||
|
||||
name_db = xstrconcat (name_sanitized, ".db", NULL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue