core/manager: check the existance of the special units (#7433)
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 23 Nov 2017 12:25:56 +0000 (21:25 +0900)
committerLennart Poettering <lennart@poettering.net>
Thu, 23 Nov 2017 12:25:56 +0000 (13:25 +0100)
commit706424c2e2334568647f7a2ea3ba670f7db51c0e
tree81321d31f6c3c521471df0f9f1ba9c744f27de19
parentf75707dbcb965e95fce2f92e77ed444b9d090e3a
core/manager: check the existance of the special units (#7433)

In the user mode, not all special units exist.
So, we need to check whether the units exist or not before operate
something to the units.
Such the check was mistakenly dropped by e68537f0ba1a4433ecdf58e609b1701ed7091abc.

Fixes #7426.
src/core/manager.c