fixed missing end of if statement in generateDH section
This commit is contained in:
parent
ccca60b927
commit
bdc5aa73ca
5
setup.sh
5
setup.sh
@ -635,12 +635,12 @@ fi
|
||||
# notify user file updates are completed
|
||||
echo -e "\n${mag}---------------------${norm}"
|
||||
echo -e "${cyan}...Template files updated${norm}"
|
||||
echo -e "\n${mag}---------------------${norm}"
|
||||
|
||||
|
||||
# notify user and generate DHParms if necessary, otherwise end reporting section
|
||||
|
||||
if [ "${generateDH}" -eq 1 ]; then
|
||||
echo -e "\n${mag}---------------------${norm}"
|
||||
echo -e "${cyan}Generating DH-Parameters file... this may take a while${norm}"
|
||||
# delete existing (likely default) dhparam.pem
|
||||
rm -f /etc/ssl/certs/dhparam.pem
|
||||
@ -653,8 +653,7 @@ if [ "${generateDH}" -eq 1 ]; then
|
||||
echo -e "${err}-- error generating dhparam.pem --"
|
||||
echo -e "you should manaully generate this file${norm}"
|
||||
fi
|
||||
|
||||
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user