openfortivpn: don't report error if symlink already exists
authorAaron Goodman <aaronjg@stanford.edu>
Mon, 20 Jul 2020 14:46:48 +0000 (10:46 -0400)
committerAaron Goodman <aaronjg@stanford.edu>
Wed, 29 Jul 2020 03:06:09 +0000 (23:06 -0400)
commitd8b71f45a8da8226ce1b801c37e88fefa9d93f36
tree9a8709c0ea22b826e00f47a4629889df99d8326a
parent7f109ec59f304b7a73bf3ea5ff54f7ae54aed5b7
openfortivpn: don't report error if symlink already exists

If two openfortivpn scripts are started at the same time, a race
condition can occur where the conditional evaluates to true, but the
symlink exists by the time the other script tries to create it

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
net/openfortivpn/files/openfortivpn.sh