From de61f9ce5b2c10692ce9b7850e2979c47dd338fb Mon Sep 17 00:00:00 2001 From: Přemysl Janouch Date: Sun, 12 Jul 2015 18:06:55 +0200 Subject: degesch: don't save on quit after a parse error --- degesch.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/degesch.c b/degesch.c index 18132a3..5ef0bc2 100644 --- a/degesch.c +++ b/degesch.c @@ -8886,6 +8886,10 @@ load_configuration (struct app_context *ctx) { log_global_error (ctx, "#s", e->message); error_free (e); + + // That would be somewhat undesired + config_item_get (ctx->config.root, "behaviour.save_on_quit", NULL) + ->value.boolean = false; } if (root) -- cgit v1.2.3-70-g09d2