Commit 3127127c authored by Daniel Salzman's avatar Daniel Salzman

conf: add notice log about missing confdb when starting txn

parent b7450701
...@@ -73,6 +73,11 @@ int conf_io_begin( ...@@ -73,6 +73,11 @@ int conf_io_begin(
return KNOT_TXN_EEXISTS; return KNOT_TXN_EEXISTS;
} }
if (conf()->filename != NULL) {
log_ctl_notice("control, persistent configuration database "
"not available");
}
// Start the writing transaction. // Start the writing transaction.
int ret = knot_db_lmdb_txn_begin(conf()->db, txn, parent, 0); int ret = knot_db_lmdb_txn_begin(conf()->db, txn, parent, 0);
if (ret != KNOT_EOK) { if (ret != KNOT_EOK) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment