Add check for existence when removing a symlink
authorJacob Bachmeyer <jcb@gnu.org>
Wed, 9 Nov 2022 00:45:56 +0000 (18:45 -0600)
committerJacob Bachmeyer <jcb@gnu.org>
Wed, 9 Nov 2022 00:45:56 +0000 (18:45 -0600)
commit428b876b24600f88242a83440f609aabaa7632fd
tree7c9a6e426815945c14b578abbe2d217ab1ad860f
parentaa1638a7ffd0c12335c5b8fc848a1374ce642714
Add check for existence when removing a symlink

While the later check to verify that the symlink to be removed actually is
a symlink will also fail if no such file exists, this produces a message
that confusingly reports a refusal to remove a non-symlink file.
gatekeeper.pl
testsuite/gatekeeper.all/01_loose.exp
testsuite/lib/gatekeeper.exp