Skip to content

Commit

Permalink
confile: cleanup get_config_net_mtu()
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 9, 2020
1 parent 8b123a8 commit d832a08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lxc/confile.c
Expand Up @@ -5954,7 +5954,7 @@ static int get_config_net_mtu(const char *key, char *retv, int inlen,
memset(retv, 0, inlen);

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

if (netdev->mtu)
strprint(retv, inlen, "%s", netdev->mtu);
Expand Down

0 comments on commit d832a08

Please sign in to comment.