]> git.infradead.org Git - users/dwmw2/openconnect.git/commit
Fix invalid reset of URL variable in csd-wrapper
authorAudric Schiltknecht <storm+gitlab@chemicalstorm.org>
Wed, 2 Aug 2023 15:15:50 +0000 (15:15 +0000)
committerDaniel Lenski <dlenski@gmail.com>
Tue, 8 Aug 2023 00:31:48 +0000 (20:31 -0400)
commitdb3722fccbbb2bd5e7c3e731f6117948d2b751f7
treed76e106b382f892300a6b634e6ac92a1b78f5e8b
parentb0034f2acb3791e428b024af9fb4285a74bf068b
Fix invalid reset of URL variable in csd-wrapper

The URL variable is constructed from the CSD_HOSTNAME at the beginning of
the script.  However, prior to parsing the command line, it was reset to
an empty value.

[DRL: This bug has existed since
https://gitlab.com/openconnect/openconnect/-/commit/cb83e535213ff2132643d2a68c50abc294b43b82,
when I modified the `csd-wrapper.sh` script to parse its `-url` command-line
argument, but forgot to remove the subsequent line `URL=`.]

Signed-off-by: Audric Schiltknecht <storm+gitlab@chemicalstorm.org>
trojans/csd-wrapper.sh