manager: avoid infinite loop for unexpected waitid() error (#8168)
authorAlan Jenkins <alan.christopher.jenkins@gmail.com>
Tue, 13 Feb 2018 18:04:31 +0000 (18:04 +0000)
committerLennart Poettering <lennart@poettering.net>
Tue, 13 Feb 2018 18:04:31 +0000 (19:04 +0100)
commit8afabc50908968a393e33b20a8a839c3daf307f1
tree37d9252b040f8bae5df76ec0844dcd2dd46c8578
parent372771c8d32702f4930ca98a22ec4b27e2f9cfc7
manager: avoid infinite loop for unexpected waitid() error (#8168)

I think if we log the error as being _ignored_, we should also consider
the event as handled and clear it.  This was the behaviour prior to
575b300b (PR #7968).

I don't think we particularly wanted to change behaviour and keep retrying.
Sometimes that's useful, other times you cause more problems by filling the
logs.

Plus a nearby typo fix.
src/core/manager.c