diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-07-12 18:06:55 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-07-13 00:13:14 +0200 |
commit | de61f9ce5b2c10692ce9b7850e2979c47dd338fb (patch) | |
tree | 94b5f4c0511c0fe8121a71e8419dab1048719592 | |
parent | efe5112a8f110bc17def77c930d5e3dcb6fe5c09 (diff) | |
download | xK-de61f9ce5b2c10692ce9b7850e2979c47dd338fb.tar.gz xK-de61f9ce5b2c10692ce9b7850e2979c47dd338fb.tar.xz xK-de61f9ce5b2c10692ce9b7850e2979c47dd338fb.zip |
degesch: don't save on quit after a parse error
-rw-r--r-- | degesch.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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) |