]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: move write_container_id() invocation into initialize_runtime()
authorLennart Poettering <lennart@poettering.net>
Wed, 6 Dec 2017 20:42:36 +0000 (21:42 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 6 Dec 2017 20:57:35 +0000 (21:57 +0100)
commit6c78f016d7329a2d387bcfc8b9b96f93e0e82b02
tree813005c2e0bc6008ec47e3d954446dcb96a2e8e0
parent5afbaa36f42676a797a515e28a70523e03677a36
core: move write_container_id() invocation into initialize_runtime()

This moves the invocation a bit later, but that shoudln't matter. By
moving it we gain two things: first of all, its closer to other code
where it belongs, secondly its naturally conditioned properly, as we no
longer will rewrite the container ID file on every reexecution again,
and not in test mode either.
src/core/main.c