From 3697ca7e3e744d7eda8bdbb122f78f6cec465a44 Mon Sep 17 00:00:00 2001 From: Noah Swartz Date: Tue, 2 Feb 2016 17:56:12 -0800 Subject: [PATCH] throw an error if manual is run non-interactively --- letsencrypt/plugins/manual.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/letsencrypt/plugins/manual.py b/letsencrypt/plugins/manual.py index 7f782a41b..29f4639fe 100644 --- a/letsencrypt/plugins/manual.py +++ b/letsencrypt/plugins/manual.py @@ -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