check explicitly for /mnt/mqm (#175)

This commit is contained in:
Rob Parker
2018-08-02 11:42:14 +01:00
committed by Arthur Barr
parent 29dfe38d32
commit c11c0a2bf4

View File

@@ -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
}