[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:
Bernhard B 2020-05-01 08:51:05 +02:00 committed by Martin
parent 2a663deb7b
commit cb0c987531

View file

@ -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: