commit 4048e47eb420be2b42fc997a6756ec0dffbd589d Author: Thomas Draebing Date: Wed Aug 12 15:58:39 2020 +0200 Register graceful shutdown for show queue command Change-Id: I9511c966379e77877e872b59f50c3e8d1e9ce3da diff --git a/java/com/google/gerrit/sshd/commands/ShowQueue.java b/java/com/google/gerrit/sshd/commands/ShowQueue.java index 2a7bd6e..04d06ee 100644 --- a/java/com/google/gerrit/sshd/commands/ShowQueue.java +++ b/java/com/google/gerrit/sshd/commands/ShowQueue.java @@ -84,6 +84,7 @@ final class ShowQueue extends SshCommand { @Override protected void run() throws Failure { + enableGracefulStop(); maxCommandWidth = wide ? Integer.MAX_VALUE : columns - 8 - 12 - 12 - 4 - 4; stdout.print( String.format(