commit 39e23e6052282fe2af103e8ed41451cf27525819 Author: Thomas Draebing Date: Wed Aug 12 15:53:59 2020 +0200 Register graceful shutdown for review command Change-Id: I6d1300b409d7847b9c31921341c575c9f80aad67 diff --git a/java/com/google/gerrit/sshd/commands/ReviewCommand.java b/java/com/google/gerrit/sshd/commands/ReviewCommand.java index 0af8936..4202aac 100644 --- a/java/com/google/gerrit/sshd/commands/ReviewCommand.java +++ b/java/com/google/gerrit/sshd/commands/ReviewCommand.java @@ -166,6 +166,7 @@ public class ReviewCommand extends SshCommand { @Override protected void run() throws UnloggedFailure { + enableGracefulStop(); if (abandonChange) { if (restoreChange) { throw die("abandon and restore actions are mutually exclusive");