Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

sending stdout to /dev/null

  • Loading branch information...
commit 6c385a1f659ca423bc9f93d2cd60d4650be0a568 1 parent 8acd212
Colin Shield & Nitin Verma authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 sunspot/lib/sunspot/server.rb
View
4 sunspot/lib/sunspot/server.rb
@@ -42,7 +42,7 @@ def start
pid = fork do
Process.setsid
STDIN.reopen('/dev/null')
-# STDOUT.reopen('/dev/null', 'a')
+ STDOUT.reopen('/dev/null', 'a')
STDERR.reopen(STDOUT)
run
end
@@ -68,7 +68,7 @@ def master_start
pid = fork do
Process.setsid
STDIN.reopen('/dev/null')
-# STDOUT.reopen('/dev/null', 'a')
+ STDOUT.reopen('/dev/null', 'a')
STDERR.reopen(STDOUT)
master_run
end
Please sign in to comment.
Something went wrong with that request. Please try again.