diff --git a/bin/update_port.sh b/bin/update_port.sh index de34ce0..e68be6c 100644 --- a/bin/update_port.sh +++ b/bin/update_port.sh @@ -182,7 +182,7 @@ ask_update_port(){ update_port "$new_port" } - +# 获取当前配置的监听端口 get_listen_port(){ local script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" local config_file="$script_dir/../config/config.json"