From: Mike Frysinger Date: Sun, 25 Feb 2018 14:04:47 +0000 (-0500) Subject: le-renew: fix display of revoke cmd X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=f33e57fb6cc153b852a3db383a90a0759fe3cd9e;p=home.git le-renew: fix display of revoke cmd --- diff --git a/.bin/le-renew b/.bin/le-renew index cc008aa..e7d4ec0 100755 --- a/.bin/le-renew +++ b/.bin/le-renew @@ -148,10 +148,10 @@ def process_domain(domain, dry_run=False): # Try to revoke the old one. cmd = ['certbot', 'revoke', '--cert-path', cert_path] logging.info('%s: revoking old cert', domain) - logging.info('%s: %s', domain, cmd) + logging.info('%s: %s', domain, ' '.join(cmd)) if not dry_run: try: - subprocess.check_call(cmd) + subprocess.check_call(cmd, stdin=open('/dev/null', 'r')) except subprocess.CalledProcessError: logging.error('failed', exc_info=True) else: