Skip to content

Commit

Permalink
BUG FIX: 'ucsf vpn start' ignored environment variable 'NETRC'
Browse files Browse the repository at this point in the history
  • Loading branch information
HenrikBengtsson committed May 17, 2024
1 parent f8325b1 commit eb82197
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 5 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,11 @@ ucsf-vpn
... a password is required` event in the `/var/log/auth.log` log
file, which in turn might trigger an security alert. The default
can be controlled via environment variable `UCSF_VPN_PRESUDO`.


### Bug Fixes

* `ucsf vpn start` ignored environment variable `NETRC`.


## Version 5.7.0 (2024-04-27)

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ Useful resources:
* UCSF Managing Your Passwords:
- https://it.ucsf.edu/services/managing-your-passwords
Version: 5.7.0-9023
Version: 5.7.0-9024
Copyright: Henrik Bengtsson (2016-2024)
License: GPL (>= 2.1) [https://www.gnu.org/licenses/gpl.html]
Source: https://github.com/HenrikBengtsson/ucsf-vpn
Expand Down
4 changes: 3 additions & 1 deletion bin/ucsf-vpn
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
### * UCSF Managing Your Passwords:
### - https://it.ucsf.edu/services/managing-your-passwords
###
### Version: 5.7.0-9023
### Version: 5.7.0-9024
### Copyright: Henrik Bengtsson (2016-2024)
### License: GPL (>= 2.1) [https://www.gnu.org/licenses/gpl.html]
### Source: https://github.com/HenrikBengtsson/ucsf-vpn
Expand Down Expand Up @@ -600,6 +600,8 @@ function source_netrc() {
home=${HOME}
fi
rcfile=${home}/.netrc
else
rcfile=${NETRC}
fi

## No such file?
Expand Down

0 comments on commit eb82197

Please sign in to comment.