[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] fixup #17188: Add most likely reasons for clock going backwards
commit 763cb393d3ae6dee8f25afca011e5ec1796ed970
Author: teor (Tim Wilson-Brown) <teor2345@xxxxxxxxx>
Date: Thu Oct 1 09:58:15 2015 +0200
fixup #17188: Add most likely reasons for clock going backwards
Add "You might have an empty clock battery or bad NTP server."
---
src/or/statefile.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/or/statefile.c b/src/or/statefile.c
index a904c41..7481cd7 100644
--- a/src/or/statefile.c
+++ b/src/or/statefile.c
@@ -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 {
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits