Skip to content

Commit

Permalink
confile: cleanup clr_config_net_name()
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 c1b9aaa commit 3846946
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lxc/confile.c
Expand Up @@ -4850,7 +4850,7 @@ static int clr_config_net_name(const char *key, struct lxc_conf *lxc_conf,
struct lxc_netdev *netdev = data;

if (!netdev)
return -1;
return ret_errno(EINVAL);

netdev->name[0] = '\0';

Expand Down

0 comments on commit 3846946

Please sign in to comment.