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:Arjun Shankar <arjun@redhat.com> (cherry picked from commit 45caed9d)
Loading
Please register or sign in to comment