Skip to content

Commit 37afb0a

Browse files
cbzxtyuwata
authored andcommitted
Updated log message when the timesync happens for the first time (systemd#13624)
1 parent 5081339 commit 37afb0a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/timesync/timesyncd-manager.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -617,9 +617,9 @@ static int manager_receive_response(sd_event_source *source, int fd, uint32_t re
617617
m->good = true;
618618

619619
server_address_pretty(m->current_server_address, &pretty);
620-
/* "for the first time", as further successful syncs will not be logged. */
621-
log_info("Synchronized to time server for the first time %s (%s).", strna(pretty), m->current_server_name->string);
622-
sd_notifyf(false, "STATUS=Synchronized to time server for the first time %s (%s).", strna(pretty), m->current_server_name->string);
620+
/* "Initial", as further successful syncs will not be logged. */
621+
log_info("Initial synchronization to time server %s (%s).", strna(pretty), m->current_server_name->string);
622+
sd_notifyf(false, "STATUS=Initial synchronization to time server %s (%s).", strna(pretty), m->current_server_name->string);
623623
}
624624

625625
r = manager_arm_timer(m, m->poll_interval_usec);

0 commit comments

Comments
 (0)