lxccontainer: remove check from goto target

parent 3695b243
...@@ -1935,8 +1935,7 @@ static bool do_lxcapi_create(struct lxc_container *c, const char *t, ...@@ -1935,8 +1935,7 @@ 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:
if (!ret) if (!ret)
......
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