Skip to content

Commit

Permalink
check_vpn: fixed check_open_port function
Browse files Browse the repository at this point in the history
  • Loading branch information
danfruehauf committed Nov 22, 2013
1 parent 161702b commit 4f39445
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check_vpn/check_vpn
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ wait_for_vpn_to_come_down() {
check_open_port() {
local host=$1; shift
local -i port=$1; shift
echo | nc -w 5 $host $port >& /dev/null
echo -n | nc -w 5 $host $port >& /dev/null
}

# returns routing table number for device
Expand Down

0 comments on commit 4f39445

Please sign in to comment.