Fixed how I was interpreting the return status of mdadm -E with cmd.run