lxccontainer: remove check from goto target

parent bad2a4a4
...@@ -1913,7 +1913,6 @@ static bool do_lxcapi_create(struct lxc_container *c, const char *t, ...@@ -1913,7 +1913,6 @@ static bool do_lxcapi_create(struct lxc_container *c, const char *t,
out_unlock: out_unlock:
umask(mask); umask(mask);
if (partial_fd >= 0)
remove_partial(c, partial_fd); remove_partial(c, partial_fd);
out: out:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment