Preserve error string during rename checks at initialization
authorJacob Bachmeyer <jcb@gnu.org>
Wed, 23 Nov 2022 03:38:50 +0000 (21:38 -0600)
committerJacob Bachmeyer <jcb@gnu.org>
Wed, 23 Nov 2022 03:38:50 +0000 (21:38 -0600)
commit1511d38bacae4f83c806169e78f51fdb4140bda7
tree562bab89dd24f54f4694bc284651d83e335eddcf
parentb32124ee2186120c5c3ead1173a4d3aa25f761f3
Preserve error string during rename checks at initialization

The test file is unlinked if a rename call fails; this could reset $! to
indicate success, so the initial value of $! is saved first.
gatekeeper.pl