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

@ -14,7 +14,7 @@ function confirmation(){
Installation terminated.
HEREDOC
return 1
return 1 # with error status
fi # "-" is found in the volume group name.
# Sanity check for root volume name
@ -26,7 +26,7 @@ function confirmation(){
Installation terminated.
HEREDOC
return 1
return 1 # with error status
fi # "-" is found in the volume name.
# Sanity check for swap volume name
@ -38,7 +38,7 @@ function confirmation(){
Installation terminated.
HEREDOC
return 1
return 1 # with error status
fi # "-" is found in the volume name.
# For surre ask the config.sh is edited
@ -54,7 +54,7 @@ function confirmation(){
Installation terminated.
HEREDOC
return 1
return 1 # with error status
fi # if YES
# For sure ask ready to erase.
@ -67,7 +67,7 @@ function confirmation(){
Installation terminated.
HEREDOC
return 1
return 1 # with error status
fi # if YES
fi # if erase all
@ -87,7 +87,7 @@ function confirmation(){
Installation terminated.
HEREDOC
return 1
return 1 # with error status
fi # passphrase validation
# succesfull return