commit b2ca23f3f6e5af1cfdb7f34b73b4e0af54c3f91b Author: Thomas Draebing Date: Wed Aug 12 15:46:59 2020 +0200 Register graceful shutdown for list user refs command Change-Id: I7065715347d869a9c6a8b558e2950b6137523450 diff --git a/java/com/google/gerrit/sshd/commands/LsUserRefs.java b/java/com/google/gerrit/sshd/commands/LsUserRefs.java index f26a4fa..a1af9a0 100644 --- a/java/com/google/gerrit/sshd/commands/LsUserRefs.java +++ b/java/com/google/gerrit/sshd/commands/LsUserRefs.java @@ -74,6 +74,7 @@ public class LsUserRefs extends SshCommand { @Override protected void run() throws Failure { + enableGracefulStop(); Account.Id userAccountId; try { userAccountId = accountResolver.resolve(userName).asUnique().getAccount().getId();