From bfffe55b2b7c620def4b26fbfc325c2ce3f31c59 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Thu, 9 Sep 2021 16:49:37 +0200 Subject: pki: wireguard: T3815: do not bail out early so keys can be written to file --- src/op_mode/pki.py | 1 - 1 file changed, 1 deletion(-) (limited to 'src/op_mode/pki.py') diff --git a/src/op_mode/pki.py b/src/op_mode/pki.py index 36891d080..a023f815a 100755 --- a/src/op_mode/pki.py +++ b/src/op_mode/pki.py @@ -643,7 +643,6 @@ def generate_wireguard_key(name, install=False, file=False): if not install: print("Private key: " + private_key) print("Public key: " + public_key) - return None if install: install_wireguard_key(name, private_key, public_key) -- cgit v1.2.3