Skip to content

Commit 08c533e

Browse files
committed
Remove redundant -r parameter on endmqm
The railroad diagram for endmqm indicates that the and flags are mutually exclusive. Using implies the behaviour of .
1 parent 4538475 commit 08c533e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/runmqserver/qmgr.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
© Copyright IBM Corporation 2017, 2020
2+
© Copyright IBM Corporation 2017, 2022
33
44
Licensed under the Apache License, Version 2.0 (the "License");
55
you may not use this file except in compliance with the License.
@@ -141,7 +141,7 @@ func stopQueueManager(name string) error {
141141
if isStandby {
142142
args = []string{"-x", name}
143143
} else {
144-
args = []string{"-s", "-w", "-r", "-tp", qmGracePeriod, name}
144+
args = []string{"-s", "-w", "-tp", qmGracePeriod, name}
145145
}
146146
}
147147
out, rc, err := command.Run("endmqm", args...)

0 commit comments

Comments
 (0)