commit bb966d818cd81ce2e323b3e27571687cf2df24db Author: Thomas Draebing Date: Wed Aug 12 15:54:23 2020 +0200 Register graceful shutdown for set account command Change-Id: Ifcaf64faef608e8fe7a793993469e72b7730badd diff --git a/java/com/google/gerrit/sshd/commands/SetAccountCommand.java b/java/com/google/gerrit/sshd/commands/SetAccountCommand.java index 8a72de6..1ecb591 100644 --- a/java/com/google/gerrit/sshd/commands/SetAccountCommand.java +++ b/java/com/google/gerrit/sshd/commands/SetAccountCommand.java @@ -154,6 +154,7 @@ final class SetAccountCommand extends SshCommand { @Override public void run() throws Exception { + enableGracefulStop(); user = genericUserFactory.create(id); validate();