mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 18:45:07 -05:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user