endmqm -r try to reconnect (#268)

This commit is contained in:
LPowlett
2019-01-28 11:03:54 +00:00
committed by GitHub
parent d3eb6e0d3d
commit df6ce917c2
2 changed files with 3 additions and 3 deletions

View File

@@ -131,7 +131,7 @@ func configureQueueManager() error {
func stopQueueManager(name string) error {
log.Println("Stopping queue manager")
out, _, err := command.Run("endmqm", "-w", name)
out, _, err := command.Run("endmqm", "-w", "-r", name)
if err != nil {
log.Printf("Error stopping queue manager: %v", string(out))
return err