Signed-off-by: Géza Gémes <geza.ge...@gmail.com> --- scripts/lopartsetup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/lopartsetup b/scripts/lopartsetup index da28b6e..e35b755 100755 --- a/scripts/lopartsetup +++ b/scripts/lopartsetup @@ -59,7 +59,7 @@ if [ `fdisk -lu $filename 2>/dev/null | grep -e "^Units = " | wc -l` -eq 1 ] then unitstring="^Units = " column=9 -else if [ `fdisk -lu $filename 2>/dev/null | grep -e "^Units:" | wc -l` -eq 1 ] +elif [ `fdisk -lu $filename 2>/dev/null | grep -e "^Units:" | wc -l` -eq 1 ] then unitstring="^Units:" column=8 -- 2.7.4 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel