HBASE-735 hbase shell doesn't trap CTRL-C signal

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@675658 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2008-07-10 17:39:43 +00:00
parent f3549073a7
commit 1f13177b07
2 changed files with 2 additions and 4 deletions

View File

@ -276,6 +276,8 @@ Trunk (unreleased changes)
(Jean-Daniel Cryans via Stack)
HBASE-706 On OOME, regionserver sticks around and doesn't go down with cluster
(Jean-Daniel Cryans via Stack)
HBASE-735 hbase shell doesn't trap CTRL-C signal
(Jean-Daniel Cryans via Stack)
NEW FEATURES
HBASE-47 Option to set TTL for columns in hbase

View File

@ -332,10 +332,6 @@ module IRB
@CONF[:IRB_RC].call(hirb.context) if @CONF[:IRB_RC]
@CONF[:MAIN_CONTEXT] = hirb.context
trap("SIGINT") do
hirb.signal_handle
end
catch(:IRB_EXIT) do
hirb.eval_input
end