diff options
Diffstat (limited to 'shutdown')
-rw-r--r-- | shutdown | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -34,7 +34,7 @@ stop_device() { # if this fails, and the array may need a full rebuild on # the next reboot. IFS=: read metadata _ < "/sys/class/block/$1/md/metadata_version" - if [ "$metdata" = external ]; then + if [ "$metadata" = external ]; then mdadm --wait-clean "/dev/$1" fi mdadm --stop "/dev/$1" |