commit 42e806ed66ea3cf39aa2caaa1430552fffa5d238 Author: Thomas Draebing Date: Wed Aug 12 15:36:50 2020 +0200 Register graceful shutdown for list groups command Change-Id: Ie9d336a9bc278b21026b7094387d5b9d40a053e8 diff --git a/java/com/google/gerrit/sshd/commands/ListGroupsCommand.java b/java/com/google/gerrit/sshd/commands/ListGroupsCommand.java index f3ba308..a6fe833 100644 --- a/java/com/google/gerrit/sshd/commands/ListGroupsCommand.java +++ b/java/com/google/gerrit/sshd/commands/ListGroupsCommand.java @@ -52,6 +52,7 @@ public class ListGroupsCommand extends SshCommand { @Override public void run() throws Exception { + enableGracefulStop(); if (listGroups.getUser() != null && !listGroups.getProjects().isEmpty()) { throw die("--user and --project options are not compatible."); }