Commit aa97bd80 authored by Cédric de Saint Martin's avatar Cédric de Saint Martin Committed by Rafael Monnerat

[Resilient stack] Don't show source code to user in case of crash.

parent c7b7a21c
...@@ -91,7 +91,7 @@ output = ${buildout:directory}/instance-frozen.cfg ...@@ -91,7 +91,7 @@ output = ${buildout:directory}/instance-frozen.cfg
[resilient-web-takeover-cgi-script-download] [resilient-web-takeover-cgi-script-download]
recipe = slapos.recipe.download recipe = slapos.recipe.download
url = ${:_profile_base_location_}/resilient-web-takeover-cgi-script.py.in url = ${:_profile_base_location_}/resilient-web-takeover-cgi-script.py.in
md5sum = e6262c5cf9b1c4d1ea4d959fdcbe3070 md5sum = 51f4ed85dd6b033b7bd3d904b1629ab6
mode = 0644 mode = 0644
destination = ${buildout:directory}/resilient-web-takeover-cgi-script.py.in destination = ${buildout:directory}/resilient-web-takeover-cgi-script.py.in
......
...@@ -4,7 +4,7 @@ import cgitb ...@@ -4,7 +4,7 @@ import cgitb
import os import os
import subprocess import subprocess
import sys import sys
cgitb.enable() cgitb.enable(display=0)
print "Content-Type: text/html" print "Content-Type: text/html"
print print
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment