fix quoting

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
remotes/origin/fix-j
Steven Armstrong 11 years ago
parent 00a7f4af93
commit c1141453fe
  1. 2
      cdist/conf/type/__install_reset_disk/gencode-remote

@ -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…
Cancel
Save