mirror of
https://github.com/systemd/systemd.git
synced 2025-03-23 10:50:16 +03:00
timesyncd: don't abort packet handling if we can't save the timestamp to disk
This should not be a fatal error, and it isn't in the other place we call this.
This commit is contained in:
parent
ec75e8e07a
commit
20c1a21066
@ -569,9 +569,7 @@ static int manager_receive_response(sd_event_source *source, int fd, uint32_t re
|
||||
if (r < 0)
|
||||
log_error_errno(r, "Failed to call clock_adjtime(): %m");
|
||||
|
||||
r = manager_save_time_and_rearm(m);
|
||||
if (r < 0)
|
||||
return r;
|
||||
(void) manager_save_time_and_rearm(m);
|
||||
|
||||
/* If touch fails, there isn't much we can do. Maybe it'll work next time. */
|
||||
(void) touch("/run/systemd/timesync/synchronized");
|
||||
|
Loading…
x
Reference in New Issue
Block a user