mirror of
https://github.com/systemd/systemd.git
synced 2024-10-27 10:25:37 +03:00
parent
b07eb677a0
commit
baa33e79e3
@ -372,7 +372,8 @@ static int manager_adjust_clock(Manager *m, double offset, int leap_sec) {
|
||||
if (r < 0)
|
||||
return -errno;
|
||||
|
||||
touch("/var/lib/systemd/clock");
|
||||
/* If touch fails, there isn't much we can do. Maybe it'll work next time. */
|
||||
(void) touch("/var/lib/systemd/clock");
|
||||
|
||||
m->drift_ppm = tmx.freq / 65536;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user