Skip to content

Commit

Permalink
ZOOKEEPER-1535. ZK Shell/Cli re-executes last command on exit (Edward…
Browse files Browse the repository at this point in the history
… Ribeiro via camille)

git-svn-id: https://svn.apache.org/repos/asf/zookeeper/trunk@1427034 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
skamille committed Dec 31, 2012
1 parent 82f7909 commit abe44cb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions CHANGES.txt
Expand Up @@ -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 -

Expand Down
5 changes: 0 additions & 5 deletions src/java/main/org/apache/zookeeper/ZooKeeperMain.java
Expand Up @@ -337,11 +337,6 @@ void run() throws KeeperException, IOException, InterruptedException {
}
}
}

boolean watch = processCmd(cl);
if (!watch) {
System.exit(0);
}
}

public void executeLine(String line)
Expand Down

0 comments on commit abe44cb

Please sign in to comment.