confile: cleanup set_config_mount_fstab()

parent 5c856bcb
...@@ -2097,7 +2097,7 @@ static int set_config_mount_fstab(const char *key, const char *value, ...@@ -2097,7 +2097,7 @@ static int set_config_mount_fstab(const char *key, const char *value,
{ {
if (lxc_config_value_empty(value)) { if (lxc_config_value_empty(value)) {
clr_config_mount_fstab(key, lxc_conf, NULL); clr_config_mount_fstab(key, lxc_conf, NULL);
return -1; return ret_errno(EINVAL);
} }
return set_config_path_item(&lxc_conf->fstab, value); return set_config_path_item(&lxc_conf->fstab, 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