From c1681eefb7192a9e7d4222f9a9fd15d0cc578cb0 Mon Sep 17 00:00:00 2001 From: Robert Parker Date: Fri, 27 Jul 2018 10:40:52 +0100 Subject: [PATCH] force string output in chkmqhealthy --- cmd/chkmqhealthy/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/chkmqhealthy/main.go b/cmd/chkmqhealthy/main.go index ff62e935..b26bea83 100644 --- a/cmd/chkmqhealthy/main.go +++ b/cmd/chkmqhealthy/main.go @@ -39,7 +39,7 @@ func queueManagerHealthy() (bool, error) { fmt.Println(err) return false, err } - fmt.Println(out) + fmt.Printf("%s", out) if !strings.Contains(string(out), "(RUNNING)") { return false, nil }