aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Main.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Main.cxx b/src/Main.cxx
index 210fe2366..8bb997090 100644
--- a/src/Main.cxx
+++ b/src/Main.cxx
@@ -181,6 +181,9 @@ glue_db_init_and_load(void)
param = allocated;
}
+ if (param == nullptr)
+ return true;
+
Error error;
if (!DatabaseGlobalInit(*param, error))
FatalError(error);