#!/usr/bin/env ruby
+require "English"
+
def output_config
puts <<-END
graph_args --base 1000
def output_values
status = `/usr/sbin/passenger-status`
- unless $?.success?
+ unless $CHILD_STATUS.success?
$stderr.puts "failed executing passenger-status"
exit 1
end