diff --git a/console.c b/console.c index 557c1447..1078986f 100644 --- a/console.c +++ b/console.c @@ -212,6 +212,9 @@ int askappend(char *filename) char line[32]; + if (cfg.logxfovr != LGXF_ASK) { + return ((cfg.logxfovr == LGXF_OVR) ? 2 : 1); + } if (console_batch_mode) { fprintf(stderr, msgtemplate_batch, FILENAME_MAX, filename); fflush(stderr);