From 616d1959eb853bdc739d44268367ff466b27b45d Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Thu, 2 Dec 2010 19:32:35 +0000 Subject: [PATCH] Fix minor shell disable issue git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1041551 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/ruby/hbase/admin.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/ruby/hbase/admin.rb b/src/main/ruby/hbase/admin.rb index 965c343363e..9c95d55c4d2 100644 --- a/src/main/ruby/hbase/admin.rb +++ b/src/main/ruby/hbase/admin.rb @@ -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