summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Draebing <thomas.draebing@sap.com>2020-08-12 15:54:23 +0200
committerMatthias Sohn <matthias.sohn@sap.com>2020-10-01 23:19:09 +0200
commitbb966d818cd81ce2e323b3e27571687cf2df24db (patch)
treef7d3ebc37bd392f2e2776051a875c6f9729cd7cc
parent39e23e6052282fe2af103e8ed41451cf27525819 (diff)
Register graceful shutdown for set account command
-rw-r--r--java/com/google/gerrit/sshd/commands/SetAccountCommand.java1
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();