Skip to content

Commit

Permalink
lxccontainer: remove check from goto target
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 Oct 22, 2018
1 parent 3695b24 commit b20e059
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lxc/lxccontainer.c
Expand Up @@ -1935,8 +1935,7 @@ static bool do_lxcapi_create(struct lxc_container *c, const char *t,

out_unlock:
umask(mask);
if (partial_fd >= 0)
remove_partial(c, partial_fd);
remove_partial(c, partial_fd);

out:
if (!ret)
Expand Down

0 comments on commit b20e059

Please sign in to comment.