commit 107cb1742b2eb8f7c0f3545596665fd819a97895 Author: Thomas Draebing Date: Wed Aug 12 15:56:01 2020 +0200 Register graceful shutdown for set parent command Change-Id: I4cef5226721f3484f7467770eae515ae1107ca50 diff --git a/java/com/google/gerrit/sshd/commands/SetParentCommand.java b/java/com/google/gerrit/sshd/commands/SetParentCommand.java index dfdf7f2..87722d9 100644 --- a/java/com/google/gerrit/sshd/commands/SetParentCommand.java +++ b/java/com/google/gerrit/sshd/commands/SetParentCommand.java @@ -90,6 +90,7 @@ final class SetParentCommand extends SshCommand { @Override protected void run() throws Failure { + enableGracefulStop(); if (oldParent == null && children.isEmpty()) { throw die( "child projects have to be specified as "