From 2761d541a2b1268d80f63f9358cb52af3df74198 Mon Sep 17 00:00:00 2001 From: Euan Reid Date: Sat, 26 Nov 2016 16:22:20 -0800 Subject: [PATCH] Added same state type doublecheck to viscosity disconnect --- scripts/ec2gaming-vpndown.viscosity.scpt | 1 + 1 file changed, 1 insertion(+) 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