Przeglądaj źródła

ZOOKEEPER-1535. ZK Shell/Cli re-executes last command on exit (Edward Ribeiro via camille)

git-svn-id: https://svn.apache.org/repos/asf/zookeeper/trunk@1427034 13f79535-47bb-0310-9956-ffa450edef68
Camille Fournier 12 lat temu
rodzic
commit
28c93eba0a

+ 1 - 0
CHANGES.txt

@@ -459,6 +459,7 @@ IMPROVEMENTS:
   ZOOKEEPER-1297. Add stat information to create() call
   (Lenni Kuff via phunt)
 
+  ZOOKEEPER-1535. ZK Shell/Cli re-executes last command on exit (Edward Ribeiro via camille)
 
 Release 3.4.0 - 
 

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

@@ -337,11 +337,6 @@ public class ZooKeeperMain {
                 }
             }
         }
-
-        boolean watch = processCmd(cl);
-        if (!watch) {
-            System.exit(0);
-        }
     }
 
     public void executeLine(String line)