Skip to content
Snippets Groups Projects
Unverified Commit c19cbce0 authored by Max Adamo's avatar Max Adamo
Browse files

fix certbot run

parent 9c20cd8a
No related branches found
No related tags found
No related merge requests found
...@@ -116,7 +116,7 @@ def run_certbot(cbot_domain, provider, wild_card=None): ...@@ -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_child = sp.Popen(cbot_cmd, stdout=sp.PIPE, stderr=sp.PIPE, shell=True)
cbot_out, cbot_err = cbot_child.communicate() cbot_out, cbot_err = cbot_child.communicate()
if cbot_child.returncode != 0: 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() os_exit()
else: else:
decoded_msg = cbot_out.decode("utf-8") decoded_msg = cbot_out.decode("utf-8")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment