mesos: fix RuboCop warnings.

This commit is contained in:
Mike McQuaid 2017-06-12 16:44:48 +01:00
parent a9678aab86
commit b76000f51b

View file

@ -162,7 +162,7 @@ class Mesos < Formula
rescue Timeout::Error
Process.kill "TERM", agent
end
assert $?.exitstatus, "agent process died, check MESOS-6606-related behavior"
assert $CHILD_STATUS.exitstatus, "agent process died, check MESOS-6606-related behavior"
# Make tests for minimal functionality.
master = fork do