reference: always update driftfile on exit
This is useful with the new fallback function of the -s option to restore the system time at which chronyd was previously stopped.
This commit is contained in:
parent
a5e9e5d0df
commit
068ce237af
1 changed files with 1 additions and 1 deletions
|
@ -267,7 +267,7 @@ REF_Finalise(void)
|
|||
LCL_SetLeap(0);
|
||||
}
|
||||
|
||||
if (drift_file && drift_file_age > 0.0) {
|
||||
if (drift_file) {
|
||||
update_drift_file(LCL_ReadAbsoluteFrequency(), our_skew);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue