Merge pull request #564 from naota/patch-2
Properly connect to the selected VPN profile
This commit is contained in:
commit
e390cdae32
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ class Module(bumblebee.engine.Module):
|
|||
|
||||
try:
|
||||
bumblebee.util.execute("nmcli c up \"{vpn}\""
|
||||
.format(vpn=self._connected_vpn_profile))
|
||||
.format(vpn=self._selected_vpn_profile))
|
||||
self._connected_vpn_profile = name
|
||||
except Exception as e:
|
||||
logging.exception("Couldn't establish VPN connection")
|
||||
|
|
Loading…
Reference in a new issue