diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-11-12 03:10:49 +0100 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2012-11-12 03:11:20 +0100 |
commit | b14dc048ed37d0e4dceccad838102af8c41b5b8d (patch) | |
tree | 4c9bc8ddabf4070d0691bbc8e6a0c761a5085305 /shutdown | |
parent | 94999eea43f7ab5269ea7f105553900457ca8181 (diff) | |
download | mkinitcpio-b14dc048ed37d0e4dceccad838102af8c41b5b8d.tar.gz mkinitcpio-b14dc048ed37d0e4dceccad838102af8c41b5b8d.tar.xz |
shutdown: fix awful typo in reading metadata
Reported-by: Jan Steffens <heftig@archlinux.org>
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
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" |