Skip to content

Commit

Permalink
BUG FIX: 'ucsf vpn status' could result in "syntax error near unexpec…
Browse files Browse the repository at this point in the history
…ted token `('" errors
  • Loading branch information
HenrikBengtsson committed May 14, 2024
1 parent a13575d commit 1ed1321
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/ucsf-vpn
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
### * UCSF Managing Your Passwords:
### - https://it.ucsf.edu/services/managing-your-passwords
###
### Version: 5.7.0-9018
### Version: 5.7.0-9019
### 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 @@ -547,10 +547,10 @@ function status() {
else
msg="Not connected to the VPN"
fi
eval "$mcmd" "$msg"
"$mcmd" "$msg"
else
for msg in "${msgs[@]}"; do
eval "echo" "${msg}"
echo "${msg}"
done
merror "Conflicting results whether connected to the VPN. This can happen if the network dropped temporarily while on the VPN. You might be able to fix it with 'ucsf vpn restart'"
fi
Expand Down

0 comments on commit 1ed1321

Please sign in to comment.