You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@zookeeper.apache.org by "kezhuw (via GitHub)" <gi...@apache.org> on 2026/04/01 04:11:02 UTC

Re: [PR] ZOOKEEPER-5021: Exit from zkCli when interrupt (Ctrl-C) or EOF (Ctrl-D) is pressed [zookeeper]

kezhuw commented on code in PR #2369:
URL: https://github.com/apache/zookeeper/pull/2369#discussion_r3019648738


##########
zookeeper-server/src/main/java/org/apache/zookeeper/ZooKeeperMain.java:
##########
@@ -332,7 +333,6 @@ void run() throws IOException, InterruptedException {
                 | InstantiationException e
             ) {
                 LOG.debug("Unable to start jline", e);

Review Comment:
   ```suggestion
                   if (jlinemissing) {
                       LOG.debug("Unable to start jline", e);
                   }
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@zookeeper.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org