X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=blobdiff_plain;f=grml-debootstrap;h=5ca15e82a5d00bd1d08a3f2ef0cd6ecfd950ac64;hp=016e73d695229b58db4dec77fae6d72b44ac7791;hb=a8ad11c4b34c20892e73b76b6a54e5ec106b3d50;hpb=147838d5fdc817ed26f1cf3e465dddd966356870;ds=sidebyside diff --git a/grml-debootstrap b/grml-debootstrap index 016e73d..5ca15e8 100755 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -237,7 +237,7 @@ prompt_for_bootmanager() MBRDISK=$(readlink -f $MBRDISK) else # fall back to old behaviour - MBRDISK=$(echo ${TARGET} | sed -e 's/[0-9][0-9]*$/') + MBRDISK=$(echo ${TARGET} | sed -e 's/[0-9][0-9]*$//') fi MBRPART="MBR of $MBRDISK"