mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
core: add missing serialization for Unit.debug_invocation
Follow-up for 7d8bbfbe08
This commit is contained in:
parent
7e6ef4340b
commit
40233f70cc
@ -101,6 +101,8 @@ int unit_serialize_state(Unit *u, FILE *f, FDSet *fds, bool switching_root) {
|
||||
(void) serialize_bool(f, "transient", u->transient);
|
||||
(void) serialize_bool(f, "in-audit", u->in_audit);
|
||||
|
||||
(void) serialize_bool(f, "debug-invocation", u->debug_invocation);
|
||||
|
||||
(void) serialize_bool(f, "exported-invocation-id", u->exported_invocation_id);
|
||||
(void) serialize_bool(f, "exported-log-level-max", u->exported_log_level_max);
|
||||
(void) serialize_bool(f, "exported-log-extra-fields", u->exported_log_extra_fields);
|
||||
@ -265,6 +267,9 @@ int unit_deserialize_state(Unit *u, FILE *f, FDSet *fds) {
|
||||
else if (MATCH_DESERIALIZE("in-audit", l, v, parse_boolean, u->in_audit))
|
||||
continue;
|
||||
|
||||
else if (MATCH_DESERIALIZE("debug-invocation", l, v, parse_boolean, u->debug_invocation))
|
||||
continue;
|
||||
|
||||
else if (MATCH_DESERIALIZE("exported-invocation-id", l, v, parse_boolean, u->exported_invocation_id))
|
||||
continue;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user