Commit f87e4ba5 authored by Ryan Jackson's avatar Ryan Jackson

Minor cleanup

parent a0411c97
......@@ -74,6 +74,7 @@ rc=$?
part_offset=`cat /sys/block/$disk/$disk$part/start`
a_part_offset=`sed -n 's/^ *a: *\([0-9]*\) *.*$/\1/p' $disklabel_dump`
c_part_offset=`sed -n 's/^ *c: *\([0-9]*\) *.*$/\1/p' $disklabel_dump`
rm -f $disklabel_dump
if [ x$a_part_offset = x ] || [ x$c_part_offset = x ]; then
#invalid disklabel
......
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