获取当前配置的监听端口
This commit is contained in:
+1
-1
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user