]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/systemctl/systemctl.c
systemctl: rework --wait logic
authorLennart Poettering <lennart@poettering.net>
Thu, 29 Nov 2018 17:39:11 +0000 (18:39 +0100)
committerLennart Poettering <lennart@poettering.net>
Sat, 1 Dec 2018 11:53:26 +0000 (12:53 +0100)
commit109b0cbf24443b54109a1b6dac010bdf3b96d93c
tree2200f05691c0a09c1da3ad2ff61c594461c33eac
parent3c4832ada41466b87203ad145af1af2b0040dcf5
systemctl: rework --wait logic

Let's not honour PropertiesChanged signals unless the Jobs properties is
empy. After all we shouldn't consider a service finished unless its
state is inactive/failed *and* no job is queued for it anymore.
src/systemctl/systemctl.c