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