Skip to content
Commit 7ff4da3d authored by Siddhesh Poyarekar's avatar Siddhesh Poyarekar
Browse files

copy_and_spawn_sgid: Avoid double calls to close()



If close() on infd and outfd succeeded, reset the fd numbers so that
we don't attempt to close them again.

Reviewed-by: default avatarArjun Shankar <arjun@redhat.com>
(cherry picked from commit 45caed9d)
parent a5bd2e10
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment