commit c17a526ea525c16a40e68412122b57f6cbc92ca1 Author: Thomas Draebing Date: Wed Aug 12 15:38:21 2020 +0200 Register graceful shutdown for list members command Change-Id: I5d7c5bbf9da2b788d8127b581a21fbd4d56e4f8a diff --git a/java/com/google/gerrit/sshd/commands/ListMembersCommand.java b/java/com/google/gerrit/sshd/commands/ListMembersCommand.java index 1565ecb..53d4ac6 100644 --- a/java/com/google/gerrit/sshd/commands/ListMembersCommand.java +++ b/java/com/google/gerrit/sshd/commands/ListMembersCommand.java @@ -45,6 +45,7 @@ public class ListMembersCommand extends SshCommand { @Override public void run() throws Exception { + enableGracefulStop(); impl.display(stdout); }