core: Make sure systemctl exit <X> works outside of a container
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 11 May 2023 06:47:38 +0000 (08:47 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 12 May 2023 05:48:29 +0000 (07:48 +0200)
commit3f92250f4c10a723693b734b803c98f3b0d53f3e
treedbe3993d0e041cccb42b63fc9b1fab8fa774641b
parentf466e828dbce3c085faa5dc782d1b0031d6e421b
core: Make sure systemctl exit <X> works outside of a container

When running in a VM, we now support propagating the exit status
via a vsock notify socket, so drop the restrictions on propagating
an exit status when not in a container to make sure this works
properly.
src/core/dbus-manager.c
src/core/main.c