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