Skip to content

Commit

Permalink
Fix logic error in VPN Client enumeration
Browse files Browse the repository at this point in the history
  • Loading branch information
jackyaz committed Aug 4, 2020
1 parent cab9b53 commit 7dbb2e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scmerlin.sh
Expand Up @@ -219,7 +219,7 @@ MainMenu(){
printf "\\n\\e[1mVPN Clients\\e[0m\\n"
printf "\\e[1m(selecting an option will restart the VPN Client)\\e[0m\\n\\n"
vpnclientnum=1
while [ "$vpnclientnum" -lt 5 ]; do
while [ "$vpnclientnum" -lt 6 ]; do
if [ -n "$(nvram get vpn_client"$vpnclientnum"_addr)" ]; then
printf "vc%s. VPN Client %s (%s)\\n" "$vpnclientnum" "$vpnclientnum" "$(nvram get vpn_client"$vpnclientnum"_desc)"
fi
Expand Down

0 comments on commit 7dbb2e2

Please sign in to comment.