commit 27962d347acd7d2d5098b68d00ce69152f61e947 Author: Thomas Draebing Date: Wed Aug 12 15:40:16 2020 +0200 Register graceful shutdown for list projects command Change-Id: I6821eb0a6f4c165a1500c265ee45059202f07f9b diff --git a/java/com/google/gerrit/sshd/commands/ListProjectsCommand.java b/java/com/google/gerrit/sshd/commands/ListProjectsCommand.java index 9f2ffa9..e711d57 100644 --- a/java/com/google/gerrit/sshd/commands/ListProjectsCommand.java +++ b/java/com/google/gerrit/sshd/commands/ListProjectsCommand.java @@ -32,6 +32,7 @@ public class ListProjectsCommand extends SshCommand { @Override public void run() throws Exception { + enableGracefulStop(); if (!impl.getFormat().isJson()) { List showBranch = impl.getShowBranch(); if (impl.isShowTree() && (showBranch != null) && !showBranch.isEmpty()) {