fixup #17188: Add most likely reasons for clock going backwards

Add "You might have an empty clock battery or bad NTP server."
This commit is contained in:
teor (Tim Wilson-Brown) 2015-10-01 09:58:15 +02:00
parent cd279ca7f5
commit 763cb393d3

View File

@ -381,7 +381,8 @@ or_state_load(void)
format_iso_time(now_str, time(NULL));
log_warn(LD_GENERAL, "Your system clock has been set back in time. "
"Tor needs an accurate clock to know when the consensus "
"expires. Clock time is %s, state file time is %s.",
"expires. You might have an empty clock battery or bad NTP "
"server. Clock time is %s, state file time is %s.",
now_str, last_written_str);
}
} else {