core: Use extract_first_word in config_parse_join_controllers
authorFilipe Brandenburger <filbranden@google.com>
Mon, 31 Aug 2015 04:00:30 +0000 (21:00 -0700)
committerFilipe Brandenburger <filbranden@google.com>
Tue, 1 Sep 2015 00:33:35 +0000 (17:33 -0700)
commitd4ebeb4fb39a03c1ea2be3648dd8aaeade6c5ba2
treed7be162efb201038be01822160cc34f1023c2fa6
parentd4c8dcc47aab8da904b6998c53c457d3d9a7b227
core: Use extract_first_word in config_parse_join_controllers

Related to the TODO item to replace FOREACH_WORD_QUOTED with it.

Tested by setting `JoinControllers=cpu,cpuacct,memory net_cls,blkio' in
/etc/systemd/system.conf, rebooting the system with the patched binaries
and checking that the desired setup was created by inspecting the
entries under /sys/fs/cgroup.

No regressions observed in test cases.
src/core/main.c