]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/munin/files/default/plugins/passenger_queues
Increase alert thresholds for minutely diffs
[chef.git] / cookbooks / munin / files / default / plugins / passenger_queues
index 506afb8510ed8645a73f93ccad36856d23f37d65..a7060fd665c9c5ed9159e2ddcd8bdd57dbddb2a2 100755 (executable)
@@ -13,7 +13,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