diff --git a/scripts/ec2gaming-vpndown.viscosity.scpt b/scripts/ec2gaming-vpndown.viscosity.scpt index b01e013..f240a79 100644 --- a/scripts/ec2gaming-vpndown.viscosity.scpt +++ b/scripts/ec2gaming-vpndown.viscosity.scpt @@ -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