]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/load-fragment.c
core: look for instance when processing template name 2856/head
authorMichal Sekletar <msekleta@redhat.com>
Wed, 16 Mar 2016 13:52:44 +0000 (14:52 +0100)
committerMichal Sekletar <msekleta@redhat.com>
Wed, 16 Mar 2016 14:40:14 +0000 (15:40 +0100)
commit7aad67e7f2b3dfbc3b5a884471bd551e4bf997cc
tree29af7154943a5f69725479dd5f7f03af4b5bb539
parentdb6b984ba8d1a64ab1cfba6fb714cd1e70970d58
core: look for instance when processing template name

If first attempt to merge units failed and we are trying to do
merge the other way around and at the same time we are working with
template name, then other unit can't possibly be template, because it is
not possible to have template unit running, only instances of the
template. Thus we need to look for already active instance instead.
src/core/load-fragment.c