Commit ae8c15a

mo <mo.khan@gmail.com>
2019-07-25 21:07:17
fix early exit from start command
1 parent dba67a0
Changed files (1)
lib
examine
lib/examine/cli/clair.rb
@@ -19,7 +19,7 @@ module Examine
       desc 'start', 'start a clair server'
       def start
         ensure_docker_installed!
-        return unless started?
+        return if started?
 
         spawn clair_db
         wait_until clair_db_running?