This commit is contained in:
eson 2023-09-22 13:37:23 +08:00
parent 173fa23e80
commit ec4fe76856
2 changed files with 3 additions and 3 deletions

View File

@ -31,9 +31,9 @@ run_server() {
# 导航到相应的目录
cd server/$server_name
go build
echo "build $server_name"
go build
# 如果之前存在相同名字的 screen 会话,先将其终止
# 首先尝试关闭已存在的screen会话
existing_session=$(screen -ls | grep -w "$server_name")

View File

@ -263,7 +263,7 @@ func GetMapValueByKey(info map[string]interface{}, keys []string) (interface{},
if curMap, ok := cur.(map[string]interface{}); ok {
info = curMap
} else {
logx.Error(cur)
// logx.Error(cur)
return cur, nil
}
} else {