Skip to content
Commit 45caed9d 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>
parent 1e0e6d65
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