log: call send_stored_logs in setup_logging instead of in main().
This is where it actually belongs. Michael
This commit is contained in:
parent
891846f23e
commit
210e82d08d
@ -279,6 +279,8 @@ int setup_logging (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
logging_initialized = TRUE;
|
logging_initialized = TRUE;
|
||||||
|
send_stored_logs ();
|
||||||
|
|
||||||
ret = 0;
|
ret = 0;
|
||||||
|
|
||||||
done:
|
done:
|
||||||
|
@ -364,7 +364,6 @@ main (int argc, char **argv)
|
|||||||
}
|
}
|
||||||
|
|
||||||
processed_config_file = TRUE;
|
processed_config_file = TRUE;
|
||||||
send_stored_logs ();
|
|
||||||
|
|
||||||
init_stats ();
|
init_stats ();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user