mirror of
https://github.com/certbot/certbot.git
synced 2026-08-03 03:32:13 +02:00
right, we actually already collect the stdout of this process!
This commit is contained in:
@@ -146,7 +146,7 @@ def make_request(server, m, csr, quiet=False):
|
|||||||
m.request.csr = csr
|
m.request.csr = csr
|
||||||
hashcash_cmd = ["hashcash", "-P", "-m", "-z", "12", "-b", `difficulty`, "-r", server]
|
hashcash_cmd = ["hashcash", "-P", "-m", "-z", "12", "-b", `difficulty`, "-r", server]
|
||||||
if quiet:
|
if quiet:
|
||||||
hashcash = subprocess.check_output(hashcash_cmd, preexec_fn=drop_privs, shell=False, stdout=None, stderr=None).rstrip()
|
hashcash = subprocess.check_output(hashcash_cmd, preexec_fn=drop_privs, shell=False, stderr=None).rstrip()
|
||||||
else:
|
else:
|
||||||
hashcash = subprocess.check_output(hashcash_cmd, preexec_fn=drop_privs, shell=False).rstrip()
|
hashcash = subprocess.check_output(hashcash_cmd, preexec_fn=drop_privs, shell=False).rstrip()
|
||||||
if hashcash: m.request.clientpuzzle = hashcash
|
if hashcash: m.request.clientpuzzle = hashcash
|
||||||
|
|||||||
Reference in New Issue
Block a user