confile: use set_config_path_item() for most cgroup layout modifiers

parent 17e2e685
...@@ -1684,7 +1684,7 @@ static int set_config_cgroup_dir(const char *key, const char *value, ...@@ -1684,7 +1684,7 @@ static int set_config_cgroup_dir(const char *key, const char *value,
if (lxc_config_value_empty(value)) if (lxc_config_value_empty(value))
return clr_config_cgroup_dir(key, lxc_conf, NULL); return clr_config_cgroup_dir(key, lxc_conf, NULL);
return set_config_string_item(&lxc_conf->cgroup_meta.dir, value); return set_config_path_item(&lxc_conf->cgroup_meta.dir, value);
} }
static int set_config_cgroup_relative(const char *key, const char *value, static int set_config_cgroup_relative(const char *key, const char *value,
......
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