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 10, 2020
1 parent f271313 commit 6998880
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lxc/confile_utils.c
Expand Up @@ -620,7 +620,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 6998880

Please sign in to comment.