]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/munin/files/default/plugins/passenger_memory
Yet more rubucop cleanups
[chef.git] / cookbooks / munin / files / default / plugins / passenger_memory
index 8c8a60bb22f4e7ff9dcc531af29e8be91b8f8197..7e6e36abc8da3b392f357e5b789594afc803ef8d 100755 (executable)
@@ -16,7 +16,7 @@ end
 
 def output_values
   status = `/usr/sbin/passenger-memory-stats | tail -1`
-  unless $?.success?
+  unless $CHILD_STATUS.success?
     $stderr.puts "failed executing passenger-memory-stats"
     exit 1
   end