aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--networking/ntpd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/networking/ntpd.c b/networking/ntpd.c
index 81474547e..d23b2c984 100644
--- a/networking/ntpd.c
+++ b/networking/ntpd.c
@@ -1902,6 +1902,7 @@ int ntpd_main(int argc UNUSED_PARAM, char **argv)
) {
/* Useful for updating battery-backed RTC and such */
run_script("periodic");
+ gettime1900d(); /* sets G.cur_time */
}
continue;
}