[PATCH] hold_index_file_for_update should not unlink failed to open .lock files atexit
authorAlex Riesen <raa.lkml@gmail.com>
Wed, 5 Oct 2005 14:58:11 +0000 (16:58 +0200)
committerJunio C Hamano <junkio@cox.net>
Wed, 5 Oct 2005 17:50:57 +0000 (10:50 -0700)
Set up atexit only if the .lock-file was opened successfully.

Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>

No differences found