degesch: don't save on quit after a parse error

This commit is contained in:
Přemysl Eric Janouch 2015-07-12 18:06:55 +02:00
parent efe5112a8f
commit de61f9ce5b

View File

@ -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)