From ff0b76613a31434b84055fb235fe000729e52a8f Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 1 May 2006 17:28:55 +0000 Subject: 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 --- railties/lib/commands/process/inspector.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties/lib/commands/process/inspector.rb') 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")) -- cgit v1.2.3