mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 00:35:50 +02:00
renew should imply noninteractive
This commit is contained in:
+2
-1
@@ -859,7 +859,6 @@ def renew(cli_config, unused_plugins):
|
||||
# XXX: does this succeed in making a fully independent config object
|
||||
# each time?
|
||||
config = configuration.RenewerConfiguration(copy.deepcopy(cli_config))
|
||||
config.noninteractive_mode = True
|
||||
|
||||
# Note that this modifies config (to add back the configuration
|
||||
# elements from within the renewal configuration file).
|
||||
@@ -1700,6 +1699,8 @@ def main(cli_args=sys.argv[1:]):
|
||||
displayer = display_util.NoninteractiveDisplay(sys.stdout)
|
||||
elif config.text_mode:
|
||||
displayer = display_util.FileDisplay(sys.stdout)
|
||||
elif config.renew:
|
||||
displayer = display_util.NoninteractiveDisplay(sys.stdout)
|
||||
else:
|
||||
displayer = display_util.NcursesDisplay()
|
||||
zope.component.provideUtility(displayer)
|
||||
|
||||
Reference in New Issue
Block a user