]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/unit-printf.c
core: simplify %r and %R logic a bit
authorLennart Poettering <lennart@poettering.net>
Thu, 30 Apr 2015 10:33:54 +0000 (12:33 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 30 Apr 2015 10:33:54 +0000 (12:33 +0200)
commit696fd1ef4f2f8574e349332a16987c6772641edd
tree2ae0b05a2dc2ed52fd695be271faa517a1fe22f0
parentc96cc5822c165e86be78ed96dac6573986032fab
core: simplify %r and %R logic a bit

Do not calculate the cgroup path manually, just use normal unit fields
and calls for that.
src/core/unit-printf.c