summaryrefslogtreecommitdiff
path: root/t/t1200-tutorial.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2008-12-18 17:31:57 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-12-21 01:56:20 -0800
commit0693f9ddad3d9af3d3424087557bbddce480ce3f (patch)
treebee18d67e504137396ed341f4c847391b0b298fe /t/t1200-tutorial.sh
parentfast-import.c: stricter strtoul check, silence compiler warning (diff)
downloadtgif-0693f9ddad3d9af3d3424087557bbddce480ce3f.tar.xz
Make sure lockfiles are unlocked when dying on SIGPIPE
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>
Diffstat (limited to 't/t1200-tutorial.sh')
0 files changed, 0 insertions, 0 deletions