Index: bin/hbase =================================================================== --- bin/hbase (revision 1453679) +++ bin/hbase (working copy) @@ -250,7 +250,7 @@ #Set the right GC options based on the what we are running 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 client=true break