degesch: don't save on quit after a parse error
This commit is contained in:
parent
efe5112a8f
commit
de61f9ce5b
|
@ -8886,6 +8886,10 @@ load_configuration (struct app_context *ctx)
|
||||||
{
|
{
|
||||||
log_global_error (ctx, "#s", e->message);
|
log_global_error (ctx, "#s", e->message);
|
||||||
error_free (e);
|
error_free (e);
|
||||||
|
|
||||||
|
// That would be somewhat undesired
|
||||||
|
config_item_get (ctx->config.root, "behaviour.save_on_quit", NULL)
|
||||||
|
->value.boolean = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (root)
|
if (root)
|
||||||
|
|
Loading…
Reference in New Issue