chiark / gitweb /
core: corrects check of strduped controller string
authorNestor Ovroy <novroy@riseup.net>
Thu, 17 Jan 2013 13:55:30 +0000 (05:55 -0800)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 17 Jan 2013 14:31:50 +0000 (09:31 -0500)
commit8755586eba8b824851f11aa6c3f8f184ed69a30a
tree61bc15f129126a913cde163f525889ccc023187a
parent464876c9c410b2f5bb997259510a13d0ee7d0af0
core: corrects check of strduped controller string

In commit 246aa6d (core: add bus API and systemctl commands for altering
cgroup parameters during runtime), when rewriting unit_add_one_default_cgroup
to prefered style, the check of strduped b->controller was incorrectly
changed to check the containing structure. Correct it.
src/core/unit.c