]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
fixup #17188: Add most likely reasons for clock going backwards
authorteor (Tim Wilson-Brown) <teor2345@gmail.com>
Thu, 1 Oct 2015 07:58:15 +0000 (09:58 +0200)
committerteor (Tim Wilson-Brown) <teor2345@gmail.com>
Thu, 1 Oct 2015 07:58:15 +0000 (09:58 +0200)
Add "You might have an empty clock battery or bad NTP server."

src/or/statefile.c

index a904c411f4f1d1cc02c4c7839c02146b3d35d697..7481cd71cbe65bbccbd97107c7fe4151d2f080ae 100644 (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 {