diff --git a/lib/sidekiq/cli.rb b/lib/sidekiq/cli.rb index cbf516a4..c4b70866 100644 --- a/lib/sidekiq/cli.rb +++ b/lib/sidekiq/cli.rb @@ -64,7 +64,7 @@ module Sidekiq sigs.each do |sig| begin trap sig do - self_write.puts(sig) + self_write.write("#{sig}\n") end rescue ArgumentError puts "Signal #{sig} not supported"