fix quoting
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
parent
00a7f4af93
commit
c1141453fe
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ fi
|
|||
|
||||
# stop mdadm raids if any
|
||||
if [ -r /proc/mdstat ]; then
|
||||
md_name="\$(awk "/$disk_name/ {print \$1}" /proc/mdstat)"
|
||||
md_name="\$(awk '/$disk_name/ {print \$1}' /proc/mdstat)"
|
||||
if [ -n "\$md_name" ]; then
|
||||
if command -v mdadm >/dev/null; then
|
||||
mdadm --stop "/dev/\$md_name"
|
||||
|
|
Loading…
Reference in a new issue