Commit d963f638 by Edward Thomson

process: don't try to close the status

`process->status` is a status value; we were mistakenly trying to close
it as a file descriptor, as if it were the `status` self-pipe that we open
during process creation.

Instead, don't try to close it, as it's not a file descriptor.
parent fde12a1f
...@@ -556,7 +556,6 @@ int git_process_close(git_process *process) ...@@ -556,7 +556,6 @@ int git_process_close(git_process *process)
CLOSE_FD(process->child_in); CLOSE_FD(process->child_in);
CLOSE_FD(process->child_out); CLOSE_FD(process->child_out);
CLOSE_FD(process->child_err); CLOSE_FD(process->child_err);
CLOSE_FD(process->status);
return 0; return 0;
} }
......
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