Browse Source

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

Add "You might have an empty clock battery or bad NTP server."
teor (Tim Wilson-Brown) 8 years ago
parent
commit
763cb393d3
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/or/statefile.c

+ 2 - 1
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 {