aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2020-11-27 20:27:31 +0000
committerPascal Terjan <pterjan@mageia.org>2020-12-19 15:00:35 +0000
commit86dadb4d2fa8c314206b7cc867dde620018b0736 (patch)
tree7d30344ee77d59ffff6453443d84f9a473bb5c68
parent86f1adb4182b9eda039c1778086e5c86bd944734 (diff)
downloadmageia4arm-86dadb4d2fa8c314206b7cc867dde620018b0736.tar
mageia4arm-86dadb4d2fa8c314206b7cc867dde620018b0736.tar.gz
mageia4arm-86dadb4d2fa8c314206b7cc867dde620018b0736.tar.bz2
mageia4arm-86dadb4d2fa8c314206b7cc867dde620018b0736.tar.xz
mageia4arm-86dadb4d2fa8c314206b7cc867dde620018b0736.zip
Fail early when partitioning script is missing
-rwxr-xr-xfunctions.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/functions.sh b/functions.sh
index 72c5fae..c266756 100755
--- a/functions.sh
+++ b/functions.sh
@@ -532,6 +532,7 @@ function partitionningimage() {
print_info "Root size kB : ${ROOT_SIZE_KB}"
else
error "Error, no partitionning script found."
+ cleanExit ${ERR_1}
fi
return 0