mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
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:
parent
cd279ca7f5
commit
763cb393d3
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user