mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-05 13:38:38 +00:00
confile: config_fstab()
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
parent
4100d1a786
commit
46f3de306f
@ -1863,8 +1863,10 @@ out:
|
|||||||
static int config_fstab(const char *key, const char *value,
|
static int config_fstab(const char *key, const char *value,
|
||||||
struct lxc_conf *lxc_conf)
|
struct lxc_conf *lxc_conf)
|
||||||
{
|
{
|
||||||
if (config_value_empty(value))
|
if (config_value_empty(value)) {
|
||||||
|
lxc_clear_config_item(lxc_conf, key);
|
||||||
return -1;
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
return config_path_item(&lxc_conf->fstab, value);
|
return config_path_item(&lxc_conf->fstab, value);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user