]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/mount.c
core: all unit types that watch control PIDs should use the same logic
authorLennart Poettering <lennart@poettering.net>
Tue, 27 Oct 2015 16:59:45 +0000 (17:59 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 27 Oct 2015 16:59:45 +0000 (17:59 +0100)
commitc386f5886466de6022b3b4b1c8ac8df72871fbc7
treec8ccf30e01db8cce8ece75aaaab2f7d83b281fc9
parent76583ef261c65feb6059680f95693ee582406c90
core: all unit types that watch control PIDs should use the same logic

When coldplugging the unit state, make sure to follow the same basic
logic for all unit types: always verify whether the control PID is still
a waitable process before proceeding.
src/core/busname.c
src/core/mount.c
src/core/socket.c
src/core/swap.c