main: close logs as last thing before exit
This should prevent losing messages from other finalisation code.
This commit is contained in:
parent
c049bce007
commit
b712c100d7
1 changed files with 1 additions and 2 deletions
3
main.c
3
main.c
|
@ -127,9 +127,8 @@ MAI_CleanupAndExit(void)
|
|||
delete_pidfile();
|
||||
|
||||
CNF_Finalise();
|
||||
LOG_Finalise();
|
||||
|
||||
HSH_Finalise();
|
||||
LOG_Finalise();
|
||||
|
||||
exit(exit_status);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue