commit 2911eab289cfd8fca023f6b4fb8316365658cbdf Author: Thomas Draebing Date: Thu Aug 6 09:25:43 2020 +0200 Register graceful shutdown for apropos command Change-Id: Iae08901c6d5fcc75b9fe0afb6e3b2d3fc03b897d diff --git a/java/com/google/gerrit/sshd/commands/AproposCommand.java b/java/com/google/gerrit/sshd/commands/AproposCommand.java index d3db70d..e7a88a1 100644 --- a/java/com/google/gerrit/sshd/commands/AproposCommand.java +++ b/java/com/google/gerrit/sshd/commands/AproposCommand.java @@ -39,6 +39,7 @@ final class AproposCommand extends SshCommand { @Override public void run() throws Exception { + enableGracefulStop(); try { List res = searcher.doQuery(q); for (DocResult docResult : res) {