Skip to content

Commit

Permalink
logout on cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Julio Gutierrez committed Jul 31, 2021
1 parent b3240e7 commit deeee08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions start_vpn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ connect
cleanup() {
nordvpn status
nordvpn disconnect
nordvpn logout
service nordvpn stop
trap - SIGTERM SIGINT EXIT # https://bash.cyberciti.biz/guide/How_to_clear_trap
exit 0
Expand Down

0 comments on commit deeee08

Please sign in to comment.