]> git.sommitrealweird.co.uk Git - onak.git/blobdiff - keydb_db4.c
Update version to mark arch build.
[onak.git] / keydb_db4.c
index 1596e5b97f4c7f60167eebd1318c8322f130e4aa..80397aacaadaa7465c1c4a9b682aaf598a071c78 100644 (file)
@@ -144,6 +144,8 @@ void initdb(bool readonly)
                                        "Error opening db environment: %s (%s)",
                                        config.db_dir,
                                        db_strerror(ret));
+                       dbenv->close(dbenv, 0);
+                       dbenv = NULL;
                }
        }