commit 4e1b483034cb81fc12c9a3d6d912fbac65c970c1 Author: Thomas Draebing Date: Wed Aug 12 15:48:57 2020 +0200 Register graceful shutdown for list plugins command Change-Id: I13d8e93b81154e772bc0b8a255a3a9284aa73e39 diff --git a/java/com/google/gerrit/sshd/commands/PluginLsCommand.java b/java/com/google/gerrit/sshd/commands/PluginLsCommand.java index 4effa3a..7216ed9 100644 --- a/java/com/google/gerrit/sshd/commands/PluginLsCommand.java +++ b/java/com/google/gerrit/sshd/commands/PluginLsCommand.java @@ -41,6 +41,7 @@ public class PluginLsCommand extends SshCommand { @Override public void run() throws Exception { + enableGracefulStop(); Map output = list.apply(TopLevelResource.INSTANCE); if (format.isJson()) {