summaryrefslogtreecommitdiff
path: root/src/op_mode/pki.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-09-09 16:49:37 +0200
committerChristian Poessinger <christian@poessinger.com>2021-09-09 16:49:37 +0200
commitbfffe55b2b7c620def4b26fbfc325c2ce3f31c59 (patch)
tree15bfa7be7d9dd48aebdcdc061d2182c32ec4330d /src/op_mode/pki.py
parent4d2201eed00ac4780d0196abf53dd9b7cb943a09 (diff)
downloadvyos-1x-bfffe55b2b7c620def4b26fbfc325c2ce3f31c59.tar.gz
vyos-1x-bfffe55b2b7c620def4b26fbfc325c2ce3f31c59.zip
pki: wireguard: T3815: do not bail out early so keys can be written to file
Diffstat (limited to 'src/op_mode/pki.py')
-rwxr-xr-xsrc/op_mode/pki.py1
1 files changed, 0 insertions, 1 deletions
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)