public
Rubygem
Fork of freelancing-god/thinking-sphinx
Description: Sphinx plugin for Rails and Merb
Homepage: http://ts.freelancing-gods.com
Clone URL: git://github.com/jaikoo/thinking-sphinx.git
Adding '-p' to the ps call
Fri May 16 23:59:14 -0700 2008
commit  2cd287e79b0d528ce85b809bb4db26c34dd57f94
tree    dbdc60c6011c2bb84cc124db49d647af7871dc43
parent  84767e7413ef5b77d627ed3634a572f8eecaab5a
...
82
83
84
85
 
86
87
...
82
83
84
 
85
86
87
0
@@ -82,5 +82,5 @@ def sphinx_pid
0
 end
0
 
0
 def sphinx_running?
0
- sphinx_pid && `ps #{sphinx_pid} | wc -l`.to_i > 1
0
+ sphinx_pid && `ps -p #{sphinx_pid} | wc -l`.to_i > 1
0
 end
0
\ No newline at end of file

Comments

    No one has commented yet.