commit 868081722294693adc2a931c2d01cdf9da11be22 Author: Thomas Draebing Date: Wed Aug 12 15:24:43 2020 +0200 Register graceful shutdown for create account command Change-Id: Ic09bd038de934d54189ad3a4bb6da0bfc4fb2940 diff --git a/java/com/google/gerrit/sshd/commands/CreateAccountCommand.java b/java/com/google/gerrit/sshd/commands/CreateAccountCommand.java index 8875f07..00fc20f 100644 --- a/java/com/google/gerrit/sshd/commands/CreateAccountCommand.java +++ b/java/com/google/gerrit/sshd/commands/CreateAccountCommand.java @@ -72,6 +72,7 @@ final class CreateAccountCommand extends SshCommand { @Override protected void run() throws IOException, ConfigInvalidException, UnloggedFailure, PermissionBackendException { + enableGracefulStop(); AccountInput input = new AccountInput(); input.username = username; input.email = email;