From c1141453fea8d032458c816f13804d1e821b8117 Mon Sep 17 00:00:00 2001 From: Steven Armstrong Date: Mon, 20 Jan 2014 12:09:55 +0100 Subject: [PATCH] fix quoting Signed-off-by: Steven Armstrong --- cdist/conf/type/__install_reset_disk/gencode-remote | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cdist/conf/type/__install_reset_disk/gencode-remote b/cdist/conf/type/__install_reset_disk/gencode-remote index e8e9cf8c..42ed00c6 100755 --- a/cdist/conf/type/__install_reset_disk/gencode-remote +++ b/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"