summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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