]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
cgroup_config_create_template_group: fix inverted error check.
authorAnton Khirnov <anton@khirnov.net>
Thu, 31 Jul 2014 09:50:34 +0000 (11:50 +0200)
committerAnton Khirnov <anton@khirnov.net>
Thu, 31 Jul 2014 09:50:34 +0000 (11:50 +0200)
commit021c3b0e90679cc7abdb74faeec04d92a1e3a099
tree42576c60caf14cde346c629be085df8275621584
parent6ac3bd9b9d9873c49478334a41b13243771dd9af
cgroup_config_create_template_group: fix inverted error check.

The aux_cgroup pointer will be NULL when an error occurs, but the check
is for it being non-NULL.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
Acked-by: Dhaval Giani <dhaval.giani@gmail.com>
src/config.c