mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 02:35:06 +02:00
properly set --agree-tos with --dry-run
This commit is contained in:
+1
-1
@@ -339,7 +339,7 @@ class HelpfulArgumentParser(object):
|
|||||||
if glob.glob(os.path.join(parsed_args.config_dir, constants.ACCOUNTS_DIR, "*")):
|
if glob.glob(os.path.join(parsed_args.config_dir, constants.ACCOUNTS_DIR, "*")):
|
||||||
# The user has a prod account, but might not have a staging
|
# The user has a prod account, but might not have a staging
|
||||||
# one; we don't want to start trying to perform interactive registration
|
# one; we don't want to start trying to perform interactive registration
|
||||||
parsed_args.agree_tos = True
|
parsed_args.tos = True
|
||||||
parsed_args.register_unsafely_without_email = True
|
parsed_args.register_unsafely_without_email = True
|
||||||
|
|
||||||
if parsed_args.csr:
|
if parsed_args.csr:
|
||||||
|
|||||||
Reference in New Issue
Block a user