chiark / gitweb /
tree-wide: make use of wait_for_terminate_and_check() at various places
authorLennart Poettering <lennart@poettering.net>
Fri, 29 Dec 2017 17:07:00 +0000 (18:07 +0100)
committerSven Eden <yamakuzure@gmx.net>
Wed, 30 May 2018 05:49:52 +0000 (07:49 +0200)
commit634f9282e89e077a2a1d733621527ec427120e85
tree80a9933c0c0b3cd800a95d7bc0096f08619f4fe7
parentda33559d0bb19673cd487ed8ca8284e6c84971c1
tree-wide: make use of wait_for_terminate_and_check() at various places

Using wait_for_terminate_and_check() instead of wait_for_terminate()
let's us simplify, shorten and unify the return value checking and
logging of waitid().  Hence, let's use it all over the place.
src/basic/terminal-util.c
src/libelogind/sd-bus/bus-container.c
src/shared/pager.c