diff --git a/modules.d/90multipath/multipath-shutdown.sh b/modules.d/90multipath/multipath-shutdown.sh index 47e9990c..f160f45e 100755 --- a/modules.d/90multipath/multipath-shutdown.sh +++ b/modules.d/90multipath/multipath-shutdown.sh @@ -1,7 +1,7 @@ #!/bin/bash for i in $(multipath -l -v1); do - if ! $(dmsetup table $i | sed -n '/.*queue_if_no_path.*/q1') ; then + if ! dmsetup table $i | sed -n '/.*queue_if_no_path.*/q1' ; then dmsetup message $i 0 fail_if_no_path fi done