diff --git a/src/vpn_manager_globalprotect/vpnc.py b/src/vpn_manager_globalprotect/vpnc.py index 1255554..4d5ce65 100644 --- a/src/vpn_manager_globalprotect/vpnc.py +++ b/src/vpn_manager_globalprotect/vpnc.py @@ -328,7 +328,7 @@ async def configure_with_networkd(): if config.reason in {Reason.CONNECT, Reason.ATTEMPT_RECONNECT, Reason.RECONNECT}: # only write out the file if the reason indicates a new connection. - config.write_config(path) + await config.write_config(path, manager) elif config.reason == Reason.PRE_INIT: # idk what this does, but the script does it, so we will too. try: