Fix unbalance if - fi

This commit is contained in:
Suikan 2021-07-04 15:15:06 +09:00
parent 1ca9e3465f
commit c504de3d9b

View file

@ -82,6 +82,7 @@ function confirmation(){
HEREDOC HEREDOC
return 1 # with error status return 1 # with error status
fi # if YES fi # if YES
fi # if erase all
# For sure ask to overwrite. # For sure ask to overwrite.
if [ "${OVERWRITEINSTALL}" -ne 0 ] ; then if [ "${OVERWRITEINSTALL}" -ne 0 ] ; then
@ -95,7 +96,7 @@ function confirmation(){
HEREDOC HEREDOC
return 1 # with error status return 1 # with error status
fi # if YES fi # if YES
fi # if erase all fi # if overwrite
# ----- Set Passphrase ----- # ----- Set Passphrase -----
# Input passphrase # Input passphrase