diff options
author | Thomas Draebing <thomas.draebing@sap.com> | 2020-08-12 15:54:23 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2020-10-01 23:19:09 +0200 |
commit | bb966d818cd81ce2e323b3e27571687cf2df24db (patch) | |
tree | f7d3ebc37bd392f2e2776051a875c6f9729cd7cc | |
parent | 39e23e6052282fe2af103e8ed41451cf27525819 (diff) |
Register graceful shutdown for set account command
Change-Id: Ifcaf64faef608e8fe7a793993469e72b7730badd
-rw-r--r-- | java/com/google/gerrit/sshd/commands/SetAccountCommand.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/java/com/google/gerrit/sshd/commands/SetAccountCommand.java b/java/com/google/gerrit/sshd/commands/SetAccountCommand.java index 8a72de6a15..1ecb591d8d 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(); |