File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -194,6 +194,7 @@ _initparams() {
194194 _info " version: $NGINX_VERSION "
195195 _info " nginx-config: $NGINX_CONFIG "
196196 _info " nginx-config-home: $NGINX_CONFIG_HOME "
197+ _info " nginx-bin: $nginx_bin "
197198 showWelcome
198199}
199200
@@ -251,6 +252,11 @@ _remote_log() {
251252 _put " /log/$type ?code=$code " " $msg "
252253}
253254
255+ _done () {
256+ _t=$( _time)
257+ _get " /done?t=$_t "
258+ }
259+
254260_create_file () {
255261 local file_path=" $1 "
256262 if [ ! -e " $file_path " ]; then
@@ -359,17 +365,16 @@ _check_token() {
359365 _err " Invalid token: \033[1;36m$HTTPSOK_TOKEN \033[0m"
360366 _info " Please copy your token from '$HTTPSOK_HOME_URL '"
361367 echo
368+ _err " $status "
362369 exit 4
363370 fi
364371 return 0
365372}
366373
367-
368374# Limit the maximum nesting level
369375_include_max_calls=5
370376_include_global_count=0
371377
372-
373378__process_include () {
374379
375380 # echo "-_include_global_count: $_include_global_count --------------------------------------------------"
@@ -831,6 +836,7 @@ _run() {
831836 _check_dns
832837 _check_certs
833838 _reload_nginx
839+ _done
834840 echo " "
835841}
836842
You can’t perform that action at this time.
0 commit comments