Commit 8c324edf authored by Michel Pelletier's avatar Michel Pelletier

Unscrewed detachment madness

parent c943daf9
......@@ -177,16 +177,6 @@ def run(argv, pidfile=''):
if os.environ.has_key('ZDAEMON_MANAGED'):
# We're the child at this point. Don't ask. :/
## sys.stdin.close()
## sys.stdout.close()
## sys.stderr.close()
## try:
## sys.stdin = open('/dev/null', "r")
## sys.stdout = open('/dev/null', "r+")
## sys.stderr = open('/dev/null', "r+")
## except:
## zLOG.LOG("z2", zLOG.ERROR, "couldn't close standard files")
return
os.environ['ZDAEMON_MANAGED']='TRUE'
......
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