mirror of
https://github.com/sheumann/hush.git
synced 2024-08-21 11:28:57 +00:00
ntpd: renew cur_time after script run, it can take a while
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
ede737b7cf
commit
06667f21d6
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user