Skip to content

Commit

Permalink
Added same state type doublecheck to viscosity disconnect
Browse files Browse the repository at this point in the history
  • Loading branch information
Euan Reid committed Nov 27, 2016
1 parent f7b8954 commit 2761d54
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/ec2gaming-vpndown.viscosity.scpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ tell application "Viscosity"
repeat until currentState = "Disconnected"
delay 1
set currentState to state of connections where name is "ec2gaming"
set currentState to currentState as string
end repeat
end tell

0 comments on commit 2761d54

Please sign in to comment.