lib/daemonizer/cli.rb in daemonizer-0.4.3 vs lib/daemonizer/cli.rb in daemonizer-0.4.4

- old
+ new

@@ -85,12 +85,11 @@ end desc "debug", "Debug pool (do not demonize)" def debug(pool_name = nil) puts "You should supply pool_name to debug" if pool_name.nil? - control_pools_loop(pool_name, "execution ended", true) do |pool| + control_pools_loop(pool_name, "execution ended", true) do |pool| STDOUT.sync = true - print_pool pool.name, "Debugging pool: " engine = Engine.new(pool) engine.debug! print_pool pool.name, " Done!"