Skip to content

Commit

Permalink
Send SIGTERM, not SIGQUIT.
Browse files Browse the repository at this point in the history
SIGTERM is the correct signal for a graceful exit.

This will hopefully resolve rails#9761.
  • Loading branch information
jonleighton committed Mar 22, 2013
1 parent 79c02e8 commit 7748d64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/test/application/console_test.rb
Expand Up @@ -127,7 +127,7 @@ def write_prompt(command, expected_output = nil)
end

def kill(pid)
Process.kill('QUIT', pid)
Process.kill('TERM', pid)
Process.wait(pid)
rescue Errno::ESRCH
end
Expand Down

0 comments on commit 7748d64

Please sign in to comment.