Commit af99c742 authored by Daniel Salzman's avatar Daniel Salzman
Browse files

server: disallow server reload also if active txn and confdb

parent 0fea7f15
......@@ -513,8 +513,8 @@ int server_reload(server_t *server, const char *cf, bool refresh_hostname)
}
// Check for no edit mode.
if (cf != NULL && conf()->io.txn != NULL) {
log_warning("reload aborted due to active config DB transaction");
if (conf()->io.txn != NULL) {
log_warning("reload aborted due to active configuration transaction");
return KNOT_CONF_ETXN;
}
......
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