Merge pull request #14400 from FrederickGeek8/fix-14287
openconnect: Fix secondary password script overwriting primary
This commit is contained in:
commit
60e7eee859
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ proto_openconnect_setup() {
|
|||
[ -n "$password2" ] && echo "$password2" >> "$pwfile"
|
||||
}
|
||||
[ "$token_mode" = "script" ] && {
|
||||
$token_script > "$pwfile" 2> /dev/null || {
|
||||
$token_script >> "$pwfile" 2> /dev/null || {
|
||||
logger -t openconenct "Cannot get password from script '$token_script'"
|
||||
proto_setup_failed "$config"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue