mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
throw an error if manual is run non-interactively
This commit is contained in:
parent
06b6dcc9c8
commit
3697ca7e3e
1 changed files with 2 additions and 0 deletions
|
|
@ -91,6 +91,8 @@ s.serve_forever()" """
|
|||
help="Automatically allows public IP logging.")
|
||||
|
||||
def prepare(self): # pylint: disable=missing-docstring,no-self-use
|
||||
if self.config.noninteractive_mode:
|
||||
raise errors.PluginError("Running manual mode non-interactively is not supported")
|
||||
pass # pragma: no cover
|
||||
|
||||
def more_info(self): # pylint: disable=missing-docstring,no-self-use
|
||||
|
|
|
|||
Loading…
Reference in a new issue