Skip to content

Commit

Permalink
[PATCH 4/4] Removed unecessary check for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
EC2 Default User authored and amartyag committed Jan 28, 2016
1 parent 84b369e commit 4ade106
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def stop
end

def process_matcher(pid)
RbConfig::CONFIG['host_os'].downcase.include?("linux") and File.read("/proc/#{pid}/cmdline").include?("codedeploy")
File.read("/proc/#{pid}/cmdline").include?("codedeploy")
end

def handle_pid_file
Expand Down

0 comments on commit 4ade106

Please sign in to comment.