Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions vpn.applescript
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on idle
set connected_vpn to get name of every service whose (kind is greater than 10 and kind is less than 17) and connected of current configuration is true
set connect_status to count of connected_vpn

if connect_status �� 0 then
if connect_status is 0 then
-- get vpn list
set vpn_list to get name of every service whose (kind is greater than 10 and kind is less than 17)

Expand All @@ -29,4 +29,4 @@ on idle
end tell
return 30
end tell
end idle
end idle