]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
cgroup_create_cgroup: write error on fail
authorIvana Hutarova Varekova <varekova@redhat.com>
Wed, 30 Oct 2013 13:21:33 +0000 (14:21 +0100)
committerIvana Hutarova Varekova <varekova@redhat.com>
Wed, 30 Oct 2013 13:21:33 +0000 (14:21 +0100)
commit4c45064939193df4c043f77ecb95cdee6af23a69
tree911e76b81a395e3a1386c9182e6eaded772afac6
parentfe048b0dfe8990eda071ac14ad9575c0fc30eeaa
cgroup_create_cgroup: write error on fail

In the current version cgroup_create_cgroup returns warning if it fails and
can't set some variable. Thus on default configuration there is no
information about the problem. This situation happens if the cgconfigparser
reads cgconfig.conf. The error message where is the problem is very useful
in this case. The patch do the message visible in standard configuration.

Signed-off-by: Ivana Hutarova Varekova <varekova@redhat.com>
Acked-by: Peter Schiffer <pschiffe@redhat.com>
src/api.c