diff options
author | James Meyer <james.meyer@operamail.com> | 2009-06-22 23:41:26 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2009-06-22 23:41:26 (GMT) |
commit | 9cd5ccf725cc6a4cf5ea201a943bd897a60b369b (patch) | |
tree | 62a31f524c304debfd4d810d6474f3066a7deeee /abs/core-testing/LinHES-config | |
parent | e8a7c4648f76e3ede74d46105db467bedc7f64f2 (diff) | |
download | linhes_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/core-testing/LinHES-config')
-rwxr-xr-x | abs/core-testing/LinHES-config/mv_install.py | 3 |
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 |