summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-12-21 11:05:42 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2016-12-21 11:05:42 -0800
commit58ef381057d98104e3ab6ebba162648258081314 (patch)
tree325d548be0fea6d007c99f249fbf977a1c26bc9e
parentc9b80d0c754df43caf7172e39542a87cecc4acc0 (diff)
downloadchef-lcg/oops.tar.gz
fix master breakagelcg/oops
pressed merged too fast Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r--lib/chef/provider/service/macosx.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/service/macosx.rb b/lib/chef/provider/service/macosx.rb
index a5b7976200..4056b72649 100644
--- a/lib/chef/provider/service/macosx.rb
+++ b/lib/chef/provider/service/macosx.rb
@@ -197,7 +197,7 @@ class Chef
case line.downcase
when /\s+\"pid\"\s+=\s+(\d+).*/
pid = $1
- @current_resource.running(!pid.to_i == 0)
+ @current_resource.running(pid.to_i != 0)
Chef::Log.debug("Current PID for #{@service_label} is #{pid}")
end
end