diff options
author | Clemens Buchacher <drizzd@aon.at> | 2008-05-25 18:26:50 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-05-25 20:06:55 (GMT) |
commit | a1292939381507be9489451076d49a5b927e9cc4 (patch) | |
tree | 00bbb5ec76d6a6733020213d4778e5ea5d6fea20 | |
parent | 509792b94f71f199838fdeaf0801e215213a6d08 (diff) | |
download | git-a1292939381507be9489451076d49a5b927e9cc4.zip git-a1292939381507be9489451076d49a5b927e9cc4.tar.gz git-a1292939381507be9489451076d49a5b927e9cc4.tar.bz2 |
Reset the signal being handled
This did not cause any problems, because remove_lock_file_on_signal is
only registered for SIGINT.
Signed-off-by: Clemens Buchacher <drizzd@aon.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r-- | lockfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -24,7 +24,7 @@ static void remove_lock_file(void) static void remove_lock_file_on_signal(int signo) { remove_lock_file(); - signal(SIGINT, SIG_DFL); + signal(signo, SIG_DFL); raise(signo); } |