Browse Source
We cleaned up lockfiles upon receiving the usual suspects HUP, TERM, QUIT but a wicked user could kill us of asphyxiation by piping our output to a pipe that does not read. Protect ourselves by catching SIGPIPE and clean up the lockfiles as well in such a case. Signed-off-by: Junio C Hamano <gitster@pobox.com>maint
![gitster@pobox.com](/assets/img/avatar_default.png)
2 changed files with 18 additions and 0 deletions
Loading…
Reference in new issue