aboutsummaryrefslogtreecommitdiff
path: root/src/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/init.c')
-rw-r--r--src/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.c b/src/init.c
index 2c1da6f..0946356 100644
--- a/src/init.c
+++ b/src/init.c
@@ -56,7 +56,7 @@ int init_db(void) {
env = getenv("POSTGRES_PASSWORD");
if (env)
kore_buf_appendf(pg_config_buf, "password=%s ", env);
-
+
env = getenv("POSTGRES_DB");
if (env)
kore_buf_appendf(pg_config_buf, "dbname=%s ", env);