diff --git a/js/ui/components/networkAgent.js b/js/ui/components/networkAgent.js index fd59c11ca..3b369ec69 100644 --- a/js/ui/components/networkAgent.js +++ b/js/ui/components/networkAgent.js @@ -514,7 +514,7 @@ var VPNRequestHandler = new Lang.Class({ message: keyfile.get_string(VPN_UI_GROUP, 'Description'), secrets: [] }; - let [groups, len] = keyfile.get_groups(); + let groups = keyfile.get_groups(); for (let i = 0; i < groups.length; i++) { if (groups[i] == VPN_UI_GROUP) continue;