HBASE-7153 print gc option in hbase-env.sh affects hbase zkcli (Dave Latham and LarsH)

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1453686 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
larsh 2013-03-07 05:51:26 +00:00
parent e67d82a2a0
commit a92c7f7612
1 changed files with 1 additions and 1 deletions

View File

@ -238,7 +238,7 @@ unset IFS
#Set the right GC options based on the what we are running #Set the right GC options based on the what we are running
declare -a client_cmds=("shell" "hbck" "hlog" "hfile" "zkcli") declare -a client_cmds=("shell" "hbck" "hlog" "hfile" "zkcli")
for cmd in $client_cmds; do for cmd in ${client_cmds[@]}; do
if [[ $cmd == $COMMAND ]]; then if [[ $cmd == $COMMAND ]]; then
client=true client=true
break break