diff options
author | Lennart Poettering <lennart@poettering.net> | 2017-09-05 19:20:29 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2017-09-22 15:24:54 +0200 |
commit | 18f573aaf9802ddac494c94a59968e0b34155695 (patch) | |
tree | 3753663c94ff82dd2c869f6d77ba53d6b71906b4 /src/core/swap.c | |
parent | journald: make maximum size of stream log lines configurable and bump it to 4... (diff) | |
download | systemd-18f573aaf9802ddac494c94a59968e0b34155695.tar.gz systemd-18f573aaf9802ddac494c94a59968e0b34155695.tar.bz2 systemd-18f573aaf9802ddac494c94a59968e0b34155695.zip |
core: make sure to dump cgroup context when unit_dump() is called for all unit types
For some reason we didn't dump the cgroup context for a number of unit
types, including service units. Not sure how this wasn't noticed
before... Add this in.
Diffstat (limited to 'src/core/swap.c')
-rw-r--r-- | src/core/swap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/swap.c b/src/core/swap.c index 9553ee16a..303f62d25 100644 --- a/src/core/swap.c +++ b/src/core/swap.c @@ -602,6 +602,7 @@ static void swap_dump(Unit *u, FILE *f, const char *prefix) { exec_context_dump(&s->exec_context, f, prefix); kill_context_dump(&s->kill_context, f, prefix); + cgroup_context_dump(&s->cgroup_context, f, prefix); } static int swap_spawn(Swap *s, ExecCommand *c, pid_t *_pid) { |