Permalink
Browse files

Send SIGTERM, not SIGQUIT.

SIGTERM is the correct signal for a graceful exit.

This will hopefully resolve #9761.
  • Loading branch information...
1 parent 79c02e8 commit 7748d64a76ae140cb80cd54d183bc1f94c192b9d @jonleighton jonleighton committed Mar 22, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/test/application/console_test.rb
@@ -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

0 comments on commit 7748d64

Please sign in to comment.