From: Christian Brauner Date: Thu, 28 Oct 2021 14:53:14 +0000 (+0200) Subject: confile: don't use path_simplify() on lxc.{execute,init}.cmd X-Git-Tag: lxc-4.0.12~53 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc51048b7918b5c28ef104811e9f21d80e331f84;p=thirdparty%2Flxc.git confile: don't use path_simplify() on lxc.{execute,init}.cmd Fixes: #4015 Signed-off-by: Christian Brauner --- diff --git a/src/lxc/confile.c b/src/lxc/confile.c index f7fe6134f..131b4ae96 100644 --- a/src/lxc/confile.c +++ b/src/lxc/confile.c @@ -1105,13 +1105,13 @@ static int set_config_seccomp_profile(const char *key, const char *value, static int set_config_execute_cmd(const char *key, const char *value, struct lxc_conf *lxc_conf, void *data) { - return set_config_path_item(&lxc_conf->execute_cmd, value); + return set_config_string_item(&lxc_conf->execute_cmd, value); } static int set_config_init_cmd(const char *key, const char *value, struct lxc_conf *lxc_conf, void *data) { - return set_config_path_item(&lxc_conf->init_cmd, value); + return set_config_string_item(&lxc_conf->init_cmd, value); } static int set_config_init_cwd(const char *key, const char *value,