Commit 33844506 authored by Mike Hibler's avatar Mike Hibler

Fix an RE in slicefix.

parent 82a0cd82
......@@ -268,7 +268,7 @@ dolinux() {
fixone() {
echo "*** ${disk}${part}:"
ptype=`sgdisk -p /dev/$disk | \
sed -n "s/^ *$part *.*iB *\([0-9A-F][0-9A-F]*\) */\1/p"`
sed -n "s/^ *$part *.*iB *\([0-9A-F][0-9A-F]*\).*/\1/p"`
ptype=${ptype:-0}
case $ptype in
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment