]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/unit-serialize.c
core/serialization: call exec_runtime_deserialize_compat() independently of whether...
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 8 Jun 2021 14:28:59 +0000 (16:28 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 9 Jun 2021 10:54:27 +0000 (12:54 +0200)
commitfe50aae5e15eb267b15a37c0c00a48b29fed8f11
tree0532972a1f052b2f845a8f0bec5306bf30fcb482
parent00fb6caf70c4ac742a5b4e913494e7d431abf0ec
core/serialization: call exec_runtime_deserialize_compat() independently of whether .serialize is defined

There is no reason to tie the two together: in principle we may have
in the future a unit type which does not define .serialize/.deserialize_item,
but we would still want to call the compat deserialization code for it.
src/core/unit-serialize.c