File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 66# Try to run "bash -version" to check the version.
77# Try to visit WIKI to find a solution.
88
9- VER=1.9.0
9+ VER=1.9.2
1010
1111PROJECT_NAME=" httpsok"
1212PROJECT_ENTRY=" httpsok.sh"
@@ -519,7 +519,7 @@ _preparse() {
519519 tmp_name=" /tmp/2nLN3ZspTMGifYtO.tmp"
520520 echo " $config_text " > $tmp_name
521521 preparse=$( _post2 " /preparse" " $tmp_name " )
522- rm -rf " $tmp_name " > /dev/null 2& > 1
522+ rm -rf " $tmp_name " > /dev/null 2>& 1
523523 if [ " $preparse " = " " ]; then
524524 return 4
525525 fi
@@ -599,7 +599,7 @@ _reload_nginx() {
599599 if [ $? != 0 ]; then
600600 _remote_log " nginx-test-failed" " $latest_code " " $msg "
601601 echo
602- _err " Nginx test failed."
602+ _err " Nginx test failed. \n\n $msg "
603603 else
604604 msg=$( $nginx_bin -s reload 2>&1 )
605605 if [ " $msg " = " " ]; then
@@ -832,6 +832,8 @@ _run() {
832832 echo " "
833833 return 4
834834 fi
835+ _info " Checking SSL certificate, please wait a moment."
836+ echo
835837 _upload_certs
836838 _check_dns
837839 _check_certs
You can’t perform that action at this time.
0 commit comments