Merge pull request #613 from bbernhard/fix_vpn_disconnect
[modules/vpn] fixed typo in vpn module
This commit is contained in:
commit
aee4b37fb5
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ class Module(core.module.Module):
|
||||||
|
|
||||||
def __on_vpndisconnect(self):
|
def __on_vpndisconnect(self):
|
||||||
try:
|
try:
|
||||||
util.lci.execute('nmcli c down \'{vpn}\''
|
util.cli.execute('nmcli c down \'{vpn}\''
|
||||||
.format(vpn=self.__connected_vpn_profile))
|
.format(vpn=self.__connected_vpn_profile))
|
||||||
self.__connected_vpn_profile = None
|
self.__connected_vpn_profile = None
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|
Loading…
Reference in a new issue