commit b83cf176e430398ce50392d9846db8f0fe16d537 Author: Thomas Draebing Date: Wed Aug 12 15:26:25 2020 +0200 Register graceful shutdown for create group command Change-Id: I35c460b3a4b1781a9a4b8092689d13201d2252e0 diff --git a/java/com/google/gerrit/sshd/commands/CreateGroupCommand.java b/java/com/google/gerrit/sshd/commands/CreateGroupCommand.java index f9a04a0..8169901 100644 --- a/java/com/google/gerrit/sshd/commands/CreateGroupCommand.java +++ b/java/com/google/gerrit/sshd/commands/CreateGroupCommand.java @@ -102,6 +102,7 @@ final class CreateGroupCommand extends SshCommand { @Override protected void run() throws Failure, IOException, ConfigInvalidException, PermissionBackendException { + enableGracefulStop(); try { GroupResource rsrc = createGroup();