]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
fix defaultcgroup detection (better description)
authorRobert Milasan <rmilasan@suse.com>
Thu, 22 Nov 2012 16:47:47 +0000 (17:47 +0100)
committerJan Safranek <jsafrane@redhat.com>
Thu, 29 Nov 2012 11:22:57 +0000 (12:22 +0100)
commit9659403b713f947fb4c1518c7417173623ddded8
tree1e525941022c872bee81cb9442450485281350c7
parentfe63920aa89b66822e5a829c2403213e63f21364
fix defaultcgroup detection (better description)

b55ce704 (scripts: cgconfig, cleanup) introduced a regression because
read is now executed in a subshell so the variables are not visible
in the outer context and so defaultcgtoup is never non-empty.

Fix the issue by using here text which doesn't involve subshell.

Signed-off-by: Robert Milasan <rmilasan@suse.com>
Signed-off-by: Jan Safranek <jsafrane@redhat.com>
scripts/init.d/cgconfig.in