openconnect: Fix secondary password script overwriting primary 14400/head
authorFrederick Morlock <FrederickGeek8@gmail.com>
Wed, 23 Dec 2020 16:48:52 +0000 (00:48 +0800)
committerFrederick Morlock <FrederickGeek8@gmail.com>
Fri, 1 Jan 2021 09:18:27 +0000 (17:18 +0800)
commit5d85f5af6358ed2350ffc6641fee67db1b07d619
treed5a4e75feb7d87e61b761e7088df305c90c26ab5
parent98c7710f48c3f422b20b5a26892b24065d0d56c9
openconnect: Fix secondary password script overwriting primary

When specifying a secondary password script, the output should be appended to the temporary password file and shouldn't overwrite it. If you refer to the case where there is a static secondary password, you can see that the secondary password is appended. Without this fix, only the secondary password is passed to the `openconnect` session.

Signed-off-by: Frederick Morlock <FrederickGeek8@gmail.com>
net/openconnect/files/openconnect.sh