Commit 33844506 authored by Mike Hibler's avatar Mike Hibler
Browse files

Fix an RE in slicefix.

parent 82a0cd82
...@@ -268,7 +268,7 @@ dolinux() { ...@@ -268,7 +268,7 @@ dolinux() {
fixone() { fixone() {
echo "*** ${disk}${part}:" echo "*** ${disk}${part}:"
ptype=`sgdisk -p /dev/$disk | \ 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} ptype=${ptype:-0}
case $ptype in case $ptype in
......
Supports Markdown
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