Blame SOURCES/db-5.3.28-cwd-db_config.patch

c7d609
--- db-5.3.28/src/env/env_open.c.old	2017-06-26 10:32:11.011419981 +0200
c7d609
+++ db-5.3.28/src/env/env_open.c	2017-06-26 10:32:46.893721233 +0200
c7d609
@@ -473,7 +473,7 @@
c7d609
 	env->db_mode = mode == 0 ? DB_MODE_660 : mode;
c7d609
 
c7d609
 	/* Read the DB_CONFIG file. */
c7d609
-	if ((ret = __env_read_db_config(env)) != 0)
c7d609
+	if (env->db_home != NULL && (ret = __env_read_db_config(env)) != 0)
c7d609
 		return (ret);
c7d609
 
c7d609
 	/*