Fix a typo in lopartsetup
PATCH 1/1 Fix a typo in lopartsetup
Unfortuntely my latest patch fixinf lopartsetup had two typos, which have fixed each other. Unfortunately only one of them got fixed, causing lopartsetup to misbehave. This patch fixes the other typo too.
Géza Gémes (1):
Fix a typo in lopartsetup
scripts/lopartsetup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 7 lines
2.7.4 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
PATCH 1/1 Fix a typo in lopartsetup
Signed-off-by Géza Gémes <[email protected]>
--- scripts/lopartsetup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/lopartsetup +1 -1
@@ -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
Signature · 7 lines
2.7.4 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Quoted 1 line · Géza Gémes
Signed-off-by Géza Gémes <[email protected]>
Thank you for the quick fix, committed.
Quoted 20 lines
--- scripts/lopartsetup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)scripts/lopartsetup +1
-1@@ -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=8Signature · 1 line
2.7.4
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel