diff --git a/setup.sh b/setup.sh index 7835387..62d173e 100644 --- a/setup.sh +++ b/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 @@ -681,4 +680,4 @@ echo -e "${mag}---------------------${norm}\n" -exit 0 +exit 0 \ No newline at end of file