Permalink
Browse files

Make the inspector work on debian (closes #4935) [Lars pind]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4320 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 04ef7f4 commit ff0b76613a31434b84055fb235fe000729e52a8f @dhh dhh committed May 1, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/commands/process/inspector.rb
@@ -18,7 +18,7 @@ def initialize(pid_path, pattern)
end
def inspect
- header = `#{OPTIONS[:ps] % 0}`.split("\n")[0] + "\n"
+ header = `#{OPTIONS[:ps] % 1}`.split("\n")[0] + "\n"
lines = pids.collect { |pid| `#{OPTIONS[:ps] % pid}`.split("\n")[1] }
puts(header + lines.join("\n"))

0 comments on commit ff0b766

Please sign in to comment.