mirror of
https://github.com/certbot/certbot.git
synced 2026-01-24 19:22:07 +03:00
don't ask for donations if renewing
This commit is contained in:
@@ -383,7 +383,7 @@ def _report_new_cert(cert_path, fullchain_path):
|
||||
|
||||
def _suggest_donation_if_appropriate(config):
|
||||
"""Potentially suggest a donation to support Let's Encrypt."""
|
||||
if not config.staging: # --dry-run implies --staging
|
||||
if not config.staging or config.verb == "renew": # --dry-run implies --staging
|
||||
reporter_util = zope.component.getUtility(interfaces.IReporter)
|
||||
msg = ("If you like Let's Encrypt, please consider supporting our work by:\n\n"
|
||||
"Donating to ISRG / Let's Encrypt: https://letsencrypt.org/donate\n"
|
||||
|
||||
Reference in New Issue
Block a user