mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-11-24 02:37:05 +00:00
Using output from shell method correctly
This commit is contained in:
parent
2572d50411
commit
b4b993e93e
@ -111,7 +111,7 @@ def do_web_update(env):
|
|||||||
nginx_conf.append((domain, make_domain_config(domain, [template0, template3], ssl_certificates, env)))
|
nginx_conf.append((domain, make_domain_config(domain, [template0, template3], ssl_certificates, env)))
|
||||||
|
|
||||||
# Load the currently enabled sites for nginx.
|
# Load the currently enabled sites for nginx.
|
||||||
sites_enabled = shell('check_output', ["ls", "/etc/nginx/sites-enabled"])
|
_, sites_enabled = shell('check_output', ["ls", "/etc/nginx/sites-enabled"])
|
||||||
warnings = []
|
warnings = []
|
||||||
|
|
||||||
# Did the files change? If not, don't bother writing & restarting nginx.
|
# Did the files change? If not, don't bother writing & restarting nginx.
|
||||||
|
Loading…
Reference in New Issue
Block a user