sequencer: avoid using errno clobbered by rollback_lock_file()
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Sun, 11 Feb 2018 00:10:04 +0000 (01:10 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 12 Feb 2018 22:43:36 +0000 (14:43 -0800)
As pointed out in a review of the `--recreate-merges` patch series,
`rollback_lock_file()` clobbers errno. Therefore, we have to report the
error message that uses errno before calling said function.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found