Ensure no debug output is leaking into the output of pihole-FTL --config ... even when debug.config = true is set
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
parent
9833fe1af0
commit
8f33706743
|
@ -234,8 +234,10 @@ void parse_args(int argc, char* argv[])
|
|||
{
|
||||
// Enable stdout printing
|
||||
cli_mode = true;
|
||||
log_ctrl(false, true);
|
||||
log_ctrl(false, false);
|
||||
readFTLconf(&config, false);
|
||||
log_ctrl(false, true);
|
||||
set_all_debug(false);
|
||||
if(argc == 3)
|
||||
exit(get_config_from_CLI(argv[2]) ? EXIT_SUCCESS : EXIT_FAILURE);
|
||||
else if(argc == 4)
|
||||
|
|
Loading…
Reference in New Issue