2
0
mirror of git://github.com/lxc/lxc synced 2025-08-31 16:14:12 +00:00

Merge pull request #4018 from brauner/2021-10-28.fixes.2

confile: don't use path_simplify() on lxc.{execute,init}.cmd
This commit is contained in:
Stéphane Graber
2021-10-28 13:07:49 -04:00
committed by GitHub

View File

@@ -1246,13 +1246,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,