]> git.ipfire.org Git - thirdparty/chrony.git/commit
sched: exit with fatal message when there is nothing to do
authorMiroslav Lichvar <mlichvar@redhat.com>
Mon, 30 Jun 2014 10:42:26 +0000 (12:42 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Mon, 30 Jun 2014 10:54:04 +0000 (12:54 +0200)
commit7c6630905d2d00c31500eddde2142af24bf3bd33
tree1686c18a74b8ebd08299fa34fb964a56aaa436aa
parent129aa587c6e6ef902c4b2966115a48bdda0027b9
sched: exit with fatal message when there is nothing to do

With cmdport 0 and port 0, it's now possible that there is no descriptor
watched or timer running, i.e. chronyd doing nothing and only waiting to
be terminated. Replace the assertion with LOG_FATAL to exit properly.
sched.c