From 08c533ed99771e62cfb20c7289de67e416150369 Mon Sep 17 00:00:00 2001 From: "arthur.barr@uk.ibm.com" Date: Tue, 2 Aug 2022 10:52:03 +0100 Subject: [PATCH] Remove redundant -r parameter on endmqm The railroad diagram for endmqm indicates that the and flags are mutually exclusive. Using implies the behaviour of . --- cmd/runmqserver/qmgr.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/runmqserver/qmgr.go b/cmd/runmqserver/qmgr.go index 1311a5b..ff5c400 100644 --- a/cmd/runmqserver/qmgr.go +++ b/cmd/runmqserver/qmgr.go @@ -1,5 +1,5 @@ /* -© Copyright IBM Corporation 2017, 2020 +© Copyright IBM Corporation 2017, 2022 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -141,7 +141,7 @@ func stopQueueManager(name string) error { if isStandby { args = []string{"-x", name} } else { - args = []string{"-s", "-w", "-r", "-tp", qmGracePeriod, name} + args = []string{"-s", "-w", "-tp", qmGracePeriod, name} } } out, rc, err := command.Run("endmqm", args...)