aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/commands/process/inspector.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2006-05-01 17:28:55 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2006-05-01 17:28:55 +0000
commitff0b76613a31434b84055fb235fe000729e52a8f (patch)
tree12285057e56784fb3e822e6481773253b35c3e81 /railties/lib/commands/process/inspector.rb
parent04ef7f4be6c26e35947f2dd3e4dfbd1eb73c9933 (diff)
downloadrails-ff0b76613a31434b84055fb235fe000729e52a8f.tar.gz
rails-ff0b76613a31434b84055fb235fe000729e52a8f.tar.bz2
rails-ff0b76613a31434b84055fb235fe000729e52a8f.zip
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
Diffstat (limited to 'railties/lib/commands/process/inspector.rb')
-rw-r--r--railties/lib/commands/process/inspector.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/commands/process/inspector.rb b/railties/lib/commands/process/inspector.rb
index 8b768f8821..6a23f498e0 100644
--- a/railties/lib/commands/process/inspector.rb
+++ b/railties/lib/commands/process/inspector.rb
@@ -18,7 +18,7 @@ class Inspector
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"))