diff --git a/lib/rbpkg.rb b/lib/rbpkg.rb
index 9c8dbc0..5308cdd 100644
--- a/lib/rbpkg.rb
+++ b/lib/rbpkg.rb
@@ -146,9 +146,9 @@ EOF
Dir.chdir("#{ci_dir}/status") do
status.each do |name, s|
puts "#{name} -> #{s}"
- final_status[name] = if s.find(:running)
+ final_status[name] = if s.include?(:running)
:running
- elsif s.find(:ko)
+ elsif s.include?(:ko)
:ko
else
:ok