]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: move check whether a unit is suitable to become transient into unit.c
authorLennart Poettering <lennart@poettering.net>
Tue, 17 Nov 2015 13:04:40 +0000 (14:04 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 17 Nov 2015 16:32:49 +0000 (17:32 +0100)
commit0f13f3bd7918b84955eaa0ceeea0f964877a93f7
tree6b87343f5f65a23ff1ec31d06af1177550f742d4
parent06cc6afa047deb56318ce424804bb04c4f690b30
core: move check whether a unit is suitable to become transient into unit.c

Lets introduce unit_is_pristine() that verifies whether a unit is
suitable to become a transient unit, by checking that it is no
referenced yet and has no data on disk assigned.
src/core/dbus-manager.c
src/core/unit.c
src/core/unit.h