[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
2a663deb7b
commit
cb0c987531
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ class Module(core.module.Module):
|
|||
|
||||
def __on_vpndisconnect(self):
|
||||
try:
|
||||
util.lci.execute('nmcli c down \'{vpn}\''
|
||||
util.cli.execute('nmcli c down \'{vpn}\''
|
||||
.format(vpn=self.__connected_vpn_profile))
|
||||
self.__connected_vpn_profile = None
|
||||
except Exception as e:
|
||||
|
|
Loading…
Reference in a new issue