[modules/vpn] fixed typo in vpn module
* due to a typo in the vpn module it wasn't possible anymore to disconnect an established vpn connection.
This commit is contained in:
parent
2cc463eb1a
commit
17983d4ecc
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