]> git.ipfire.org Git - thirdparty/chrony.git/commit
sources: reselect earlier when removing selected source
authorMiroslav Lichvar <mlichvar@redhat.com>
Tue, 21 Nov 2023 10:10:23 +0000 (11:10 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Tue, 21 Nov 2023 11:38:41 +0000 (12:38 +0100)
commit5dd288dc0cbdd8a4457da28be8dab0a1fba1d100
treefcca30256229fd0c2654594de1907d8928da64a2
parentcbee464c75af57054c9eccce50f5b3ba1cc3da86
sources: reselect earlier when removing selected source

When a selected source is being removed, reset the instance and rerun
the selection while the source is still marked as selected. This forces
a "Can't synchronise" message to be logged when all sources are removed.

Reported-by: Thomas Lange <thomas@corelatus.se>
sources.c