mirror of
https://github.com/certbot/certbot.git
synced 2026-07-27 08:09:10 +02:00
throw an error if manual is run non-interactively
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user