diff --git a/lib/sidekiq/cli.rb b/lib/sidekiq/cli.rb index 74f578d0..f85a778d 100644 --- a/lib/sidekiq/cli.rb +++ b/lib/sidekiq/cli.rb @@ -116,7 +116,7 @@ module Sidekiq launcher.run while (readable_io = self_read.wait_readable) - signal = readable_io.first[0].gets.strip + signal = readable_io.gets.strip handle_signal(signal) end rescue Interrupt