diff --git a/modules.d/90mdraid/mdmon-pre-pivot.sh b/modules.d/90mdraid/mdmon-pre-pivot.sh index b1f379f..db5a210 100644 --- a/modules.d/90mdraid/mdmon-pre-pivot.sh +++ b/modules.d/90mdraid/mdmon-pre-pivot.sh @@ -1,3 +1,3 @@ # switch any mdmon instances to newroot -[ -f /etc/mdadm.conf ] && /sbin/mdmon /proc/mdstat $NEWROOT +[ -f /etc/mdadm.conf ] && [ -x /sbin/mdmon ] && /sbin/mdmon /proc/mdstat $NEWROOT -- To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html