← Commit list

06667f21d

Denys Vlasenko
Denys Vlasenko
2010-01-06
FAILED Duration: 28s

Subject

ntpd: renew cur_time after script run, it can take a while

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

networking/ntpd.c+1 -0
@@ -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;
}