From 037b35544d029a3c49e67a8894d28d76815f4b0f Mon Sep 17 00:00:00 2001 From: Robert Parker Date: Fri, 27 Jul 2018 10:44:07 +0100 Subject: [PATCH] check explicitly for /mnt/mqm --- cmd/runmqserver/mqconfig.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/runmqserver/mqconfig.go b/cmd/runmqserver/mqconfig.go index 51c91791..a653ce14 100644 --- a/cmd/runmqserver/mqconfig.go +++ b/cmd/runmqserver/mqconfig.go @@ -131,7 +131,7 @@ func readMounts() error { //dev := parts[0] mountPoint := parts[1] fsType := parts[2] - if strings.Contains(mountPoint, "/mnt") { + if strings.Contains(mountPoint, "/mnt/mqm") { log.Printf("Detected '%v' volume mounted to %v", fsType, mountPoint) detected = true }