]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/munin/files/default/plugins/passenger_requests
Update memcached munin plugins
[chef.git] / cookbooks / munin / files / default / plugins / passenger_requests
index f783be974040b67adfd0245fa7e185e8a17c5d97..39c87c82177a7983282dc366e1a5d10dd217f652 100755 (executable)
@@ -17,7 +17,7 @@ end
 
 def output_values
   status = `/usr/sbin/passenger-status`
-  unless $?.success?
+  unless $CHILD_STATUS.success?
     $stderr.puts "failed executing passenger-status"
     exit 1
   end