[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] Fix a typo in lopartsetup



Signed-off-by: Géza Gémes <geza.gemes@xxxxxxxxx>
---
 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@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.