Commit f5d18611 by Daniel Lezcano

fix cgroup trace

The trace is displayed either if the setting fails, change that by displaying the trace when the setting is successful. Signed-off-by: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
parent f49d83e9
......@@ -941,9 +941,9 @@ static int setup_cgroup_cb(void* buffer, void *data)
ret = lxc_cgroup_set(name, key, value);
if (ret)
ERROR("failed to set cgroup '%s' = '%s' for '%s'",
key, value, name);
DEBUG("cgroup '%s' set to '%s'", key, value);
key, value, name);
else
DEBUG("cgroup '%s' set to '%s'", key, value);
return ret;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment