X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=blobdiff_plain;f=grml-debootstrap;h=c029246720d699059329b443bd5a9091c9de1ea3;hp=f589166472172c2f09c0e3445f511c8e8d248090;hb=6dde1bdbf1ffab952beded7a4900b1264429ac47;hpb=5adf8f682756357f82f26b7400b1c140f1924bcf diff --git a/grml-debootstrap b/grml-debootstrap index f589166..c029246 100755 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -419,7 +419,7 @@ prompt_for_target() AVAILABLE_PARTITIONS=$(LANG=C fdisk -l 2>/dev/null | \ sed 's/*//' | \ grep -v 'Extended$' | \ - gawk -v num=0 -v ORS=' ' '/^\/dev\// {print $1}'; ls /dev/md* 2>/dev/null || true); + gawk -v num=0 -v ORS=' ' '/^\/dev\// {print $1}'; ls /dev/md[0-9]* 2>/dev/null || true); if [ -z "$AVAILABLE_PARTITIONS" ] ; then dialog --title "$PN" --trim \