Skip to content

Commit

Permalink
confile_utils: cleanup lxc_ipvlan_flag_to_isolation()
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
  • Loading branch information
Christian Brauner committed Dec 15, 2020
1 parent a438604 commit e7193aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lxc/confile_utils.c
Expand Up @@ -605,7 +605,7 @@ char *lxc_ipvlan_flag_to_isolation(int flag)
return ipvlan_isolation[i].name;
}

return NULL;
return ret_set_errno(NULL, EINVAL);
}

int set_config_string_item(char **conf_item, const char *value)
Expand Down

0 comments on commit e7193aa

Please sign in to comment.