nspawn: try to wait for the container PID 1 to exit, before we exit
authorLennart Poettering <lennart@poettering.net>
Fri, 18 Nov 2016 22:47:09 +0000 (23:47 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 22 Nov 2016 12:35:09 +0000 (13:35 +0100)
commit6a0f896b97ab4f744bf4404011f8ac9d2f978443
treea1671612110c8e193ce05d899d95835c3aca003a
parentb6e953f24cadd03d461b4b886a1b6a8acdd2bb2d
nspawn: try to wait for the container PID 1 to exit, before we exit

Let's make the shutdown logic synchronous, so that there's a better chance to
detach the loopback device after use.
src/nspawn/nspawn.c