Browse Source

ZOOKEEPER-1897. ZK Shell/Cli not processing commands (stack via michim)

git-svn-id: https://svn.apache.org/repos/asf/zookeeper/trunk@1584438 13f79535-47bb-0310-9956-ffa450edef68
Michi Mutsuzaki 11 years ago
parent
commit
4d7af83cbc
2 changed files with 5 additions and 0 deletions
  1. 2 0
      CHANGES.txt
  2. 3 0
      src/java/main/org/apache/zookeeper/ZooKeeperMain.java

+ 2 - 0
CHANGES.txt

@@ -596,6 +596,8 @@ BUGFIXES:
   ZOOKEEPER-1906. zkpython: invalid data in GetData for empty node
   (Nikita Vetoshkin via michim)
 
+  ZOOKEEPER-1897. ZK Shell/Cli not processing commands (stack via michim)
+
 IMPROVEMENTS:
 
   ZOOKEEPER-1170. Fix compiler (eclipse) warnings: unused imports,

+ 3 - 0
src/java/main/org/apache/zookeeper/ZooKeeperMain.java

@@ -340,6 +340,9 @@ public class ZooKeeperMain {
                     executeLine(line);
                 }
             }
+        } else {
+            // Command line args non-null.  Run what was passed.
+            processCmd(cl);
         }
     }