chiark / gitweb /
core: if we cannot JOB_ISOLATE the default target JOB_REPLACE it instead v198
authorLennart Poettering <lennart@poettering.net>
Thu, 7 Mar 2013 21:18:34 +0000 (22:18 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 7 Mar 2013 21:18:34 +0000 (22:18 +0100)
commitab17a050b778412b11c82f4fa974be9c491ead36
tree53026f7275c4ecc64507d0b99917a9332530e22e
parent01ec23582dc0523831059fc05bedde16efd06576
core: if we cannot JOB_ISOLATE the default target JOB_REPLACE it instead

In order to maintain compatibility with older initrds which do not have
AllowIsolate=yes set for their target units, fallback to JOB_REPLACE if
JOB_ISOLATE doesn't work, but complain about it.
src/core/main.c