summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-06-22 23:41:26 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-06-22 23:41:26 (GMT)
commit9cd5ccf725cc6a4cf5ea201a943bd897a60b369b (patch)
tree62a31f524c304debfd4d810d6474f3066a7deeee /abs
parente8a7c4648f76e3ede74d46105db467bedc7f64f2 (diff)
downloadlinhes_pkgbuild-9cd5ccf725cc6a4cf5ea201a943bd897a60b369b.zip
linhes_pkgbuild-9cd5ccf725cc6a4cf5ea201a943bd897a60b369b.tar.gz
linhes_pkgbuild-9cd5ccf725cc6a4cf5ea201a943bd897a60b369b.tar.bz2
linhes-config: error out on partition error instead of continuing.
Diffstat (limited to 'abs')
-rwxr-xr-xabs/core-testing/LinHES-config/mv_install.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/abs/core-testing/LinHES-config/mv_install.py b/abs/core-testing/LinHES-config/mv_install.py
index 3c3e30d..87fbaae 100755
--- a/abs/core-testing/LinHES-config/mv_install.py
+++ b/abs/core-testing/LinHES-config/mv_install.py
@@ -272,7 +272,8 @@ def create_partitions(diskdevice, size, ptype, startsector):
geom = parted.Geometry(device=device, start=newstart, length=length)
except:
logging.info("An error occured, probably invalid parition size")
- return
+ error_out("invalid parition size")
+
#collect device constraint
constraint = device.getConstraint()
# new partition