mirror of
https://github.com/certbot/certbot.git
synced 2026-06-09 08:42:57 -04:00
Fixed small subprocess call error, silenced final reload
This commit is contained in:
parent
8db9b8bd1d
commit
9f08ec84c2
2 changed files with 2 additions and 2 deletions
|
|
@ -335,7 +335,7 @@ def authenticate():
|
|||
#cert_chain_abspath = os.path.abspath(chain_file)
|
||||
for host in vhost:
|
||||
config.deploy_cert(host, os.path.abspath(cert_file), os.path.abspath(key_file), cert_chain_abspath)
|
||||
sni_challenge.apache_restart()
|
||||
sni_challenge.apache_restart(curses)
|
||||
elif r.failure.IsInitialized():
|
||||
print "Server reported failure."
|
||||
sys.exit(1)
|
||||
|
|
|
|||
|
|
@ -363,7 +363,7 @@ class Configurator(object):
|
|||
Checks apache2ctl to get loaded module list
|
||||
"""
|
||||
try:
|
||||
p = subprocess.check_output(["sudo", "/usr/sbin/apache2ctl", "-M"], stdout=open("/dev/null", 'w'), stderr=open("/dev/null", 'w'))
|
||||
p = subprocess.check_output(["sudo", "/usr/sbin/apache2ctl", "-M"], stderr=open("/dev/null", 'w'))
|
||||
except:
|
||||
print "Error accessing apache2ctl for loaded modules!"
|
||||
print "This may be caused by an Apache Configuration Error"
|
||||
|
|
|
|||
Loading…
Reference in a new issue