Make warning message stronger.

Add comment to the error return
This commit is contained in:
Suikan 2021-07-02 07:49:22 +09:00
parent ce949a547a
commit 4f54f0bdbd
5 changed files with 21 additions and 18 deletions

View file

@ -54,7 +54,7 @@ function pre_install() {
Installation terminated.
HEREDOC
return 1
return 1 # with error status
fi # if crypt volume is unable to open
# ----- Configure the LVM in LUKS volume -----
@ -84,7 +84,7 @@ function pre_install() {
Installation terminated.
HEREDOC
return 1
return 1 # with error status
else
echo "...Create logical volume \"${LVROOTNAME}\" on \"${VGNAME}\"."
lvcreate -l ${LVROOTSIZE} -n ${LVROOTNAME} ${VGNAME}