cr-restore: don't close image fd in create_pipe
create_pipe() may restore up to 3 descriptors. They may be both ends of pipes and a target descriptor. The image fd may hold any of them. Signed-off-by:Andrey Vagin <avagin@openvz.org> Signed-off-by:
Cyrill Gorcunov <gorcunov@openvz.org>
Showing
Please
register
or
sign in
to comment