Commit 47c45341 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Add directive "reopen-logfile".

parent 854f7ff6
...@@ -1015,6 +1015,11 @@ parse_config_line(int c, gnc_t gnc, void *closure, ...@@ -1015,6 +1015,11 @@ parse_config_line(int c, gnc_t gnc, void *closure,
free(token2); free(token2);
goto fail; goto fail;
} }
} else if(strcmp(token, "reopen-logfile") == 0) {
c = skip_eol(c, gnc, closure);
if(c < -1 || !action_return)
goto fail;
reopen_logfile();
} else { } else {
c = parse_option(c, gnc, closure, token); c = parse_option(c, gnc, closure, token);
if(c < -1) if(c < -1)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment