commit 0bb4db5f25e70f46531e2f2eac013495170f14a8 Author: Thomas Draebing Date: Wed Aug 12 15:55:32 2020 +0200 Register graceful shutdown for set members command Change-Id: I587e5f5f198e5479fed4eb1ab40cd501510d48a1 diff --git a/java/com/google/gerrit/sshd/commands/SetMembersCommand.java b/java/com/google/gerrit/sshd/commands/SetMembersCommand.java index 324257b..5557b16 100644 --- a/java/com/google/gerrit/sshd/commands/SetMembersCommand.java +++ b/java/com/google/gerrit/sshd/commands/SetMembersCommand.java @@ -102,6 +102,7 @@ public class SetMembersCommand extends SshCommand { @Override protected void run() throws UnloggedFailure, Failure, Exception { + enableGracefulStop(); try { for (AccountGroup.UUID groupUuid : groups) { GroupResource resource =