diff options
author | Thomas Draebing <thomas.draebing@sap.com> | 2020-08-12 15:56:01 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2020-10-01 23:19:09 +0200 |
commit | 107cb1742b2eb8f7c0f3545596665fd819a97895 (patch) | |
tree | 1f38a9e91635bf1330b9bc846c36547376c1cebb | |
parent | 0bb4db5f25e70f46531e2f2eac013495170f14a8 (diff) |
Register graceful shutdown for set parent command
Change-Id: I4cef5226721f3484f7467770eae515ae1107ca50
-rw-r--r-- | java/com/google/gerrit/sshd/commands/SetParentCommand.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/java/com/google/gerrit/sshd/commands/SetParentCommand.java b/java/com/google/gerrit/sshd/commands/SetParentCommand.java index dfdf7f25c1..87722d926b 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 " |