Fix minor shell disable issue

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1041551 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2010-12-02 19:32:35 +00:00
parent 63a1446423
commit 616d1959eb
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ module Hbase
#----------------------------------------------------------------------------------------------
# Disables a table
def disable(table_name)
return unless disabled?(table_name)
return if disabled?(table_name)
@admin.disableTable(table_name)
end