Skip to content

Commit

Permalink
updated to version 2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
malwareinfosec committed Dec 22, 2021
1 parent 36282db commit 8a64506
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion VPN.sh
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ update () {
currentversion=$(grep '^version_number=' VPN.sh | sed 's/version_number=//g')
# Check latest version number
latestversion=$(curl https://raw.githubusercontent.com/malwareinfosec/VPNrotator/master/version.info)
if (( currentversion == latestversion ));then
if [[ ( "$currentversion" == "$latestversion" ) ]];then
echo "You already have the latest version ($latestversion)"
else
stopVPN
Expand Down

0 comments on commit 8a64506

Please sign in to comment.