Skip to content
Snippets Groups Projects
Commit 40fd5722 authored by Radoslaw "AstralStorm" Szkodzinski's avatar Radoslaw "AstralStorm" Szkodzinski
Browse files

hgeditor: Remove temporary files even if interrupted

# HG changeset patch
# User Radoslaw "AstralStorm" Szkodzinski <astralstorm@gorzow.mm.pl>
# Node ID 1292f1fd015767d9682ba2ff5f8377fb6760c3a5
# Parent  a4c688c8273e392b1bf33cfc736e00ec752a415e
hgeditor: Remove temporary files even if interrupted

Index: hg/hgeditor
===================================================================
parent e1fbc198
No related branches found
No related tags found
No related merge requests found
......@@ -22,6 +22,8 @@
# we don't sign merges
exec $EDITOR "$1"
else
# Remove temporary files even if we get interrupted
trap "cleanup_exit 255" TERM KILL INT QUIT ABRT
T1=`mktemp`; T2=`mktemp`
# Add manifest hash in order to sign whole repository state.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment