mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-11 16:01:25 +00:00
confile: don't use path_simplify() on lxc.{execute,init}.cmd
Fixes: #4015 Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
8dff29c6c7
commit
51d40b684c
@ -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,
|
static int set_config_execute_cmd(const char *key, const char *value,
|
||||||
struct lxc_conf *lxc_conf, void *data)
|
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,
|
static int set_config_init_cmd(const char *key, const char *value,
|
||||||
struct lxc_conf *lxc_conf, void *data)
|
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,
|
static int set_config_init_cwd(const char *key, const char *value,
|
||||||
|
Loading…
Reference in New Issue
Block a user