mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 08:45:22 +02:00
That shouldn't be in the try block
This commit is contained in:
@@ -153,13 +153,13 @@ binary for temporary key/certificate generation.""".replace("\n", "")
|
||||
ct=response.CONTENT_TYPE, port=port)
|
||||
if self.conf("test-mode"):
|
||||
logger.debug("Test mode. Executing the manual command: %s", command)
|
||||
# sh shipped with OS X does't support echo -n
|
||||
if sys.platform == "darwin":
|
||||
executable = "/bin/bash"
|
||||
else:
|
||||
executable = "/bin/sh"
|
||||
|
||||
try:
|
||||
# sh shipped with OS X does't support echo -n
|
||||
if sys.platform == "darwin":
|
||||
executable = "/bin/bash"
|
||||
else:
|
||||
executable = "/bin/sh"
|
||||
|
||||
self._httpd = subprocess.Popen(
|
||||
command,
|
||||
# don't care about setting stdout and stderr,
|
||||
|
||||
Reference in New Issue
Block a user