Create logdir before making first tracking write
This commit is contained in:
parent
86531a51a7
commit
103a520aa6
1 changed files with 2 additions and 2 deletions
4
main.c
4
main.c
|
@ -366,6 +366,8 @@ int main
|
|||
SYS_DropRoot(user);
|
||||
}
|
||||
|
||||
LOG_CreateLogFileDir();
|
||||
|
||||
REF_Initialise();
|
||||
SST_Initialise();
|
||||
BRD_Initialise();
|
||||
|
@ -377,8 +379,6 @@ int main
|
|||
MNL_Initialise();
|
||||
TMC_Initialise();
|
||||
|
||||
LOG_CreateLogFileDir();
|
||||
|
||||
/* From now on, it is safe to do finalisation on exit */
|
||||
initialised = 1;
|
||||
|
||||
|
|
Loading…
Reference in a new issue