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:
Miroslav Lichvar 2014-08-18 18:31:02 +02:00
parent a5e9e5d0df
commit 068ce237af

View file

@ -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);
}