From c19cbce080e46bae3c34a225d3574ed3576af174 Mon Sep 17 00:00:00 2001 From: Massimiliano Adamo <maxadamo@gmail.com> Date: Thu, 25 Jun 2020 00:28:57 +0200 Subject: [PATCH] fix certbot run --- files/geant_acme.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/geant_acme.py b/files/geant_acme.py index f2758b5..1c44f13 100755 --- a/files/geant_acme.py +++ b/files/geant_acme.py @@ -116,7 +116,7 @@ def run_certbot(cbot_domain, provider, wild_card=None): cbot_child = sp.Popen(cbot_cmd, stdout=sp.PIPE, stderr=sp.PIPE, shell=True) cbot_out, cbot_err = cbot_child.communicate() if cbot_child.returncode != 0: - msg = "error running certbot: {}".format(cbot_err.decode("utf-8")) + print("error running certbot: {}".format(cbot_err.decode("utf-8"))) os_exit() else: decoded_msg = cbot_out.decode("utf-8") -- GitLab