-
This commit is contained in:
@@ -62,7 +62,9 @@ __check_process() {
|
||||
}
|
||||
|
||||
__main() {
|
||||
[[ -z "$_id" ]] && return
|
||||
if [[ -z "$_id" ]]; then
|
||||
_id=$(cat /host/workspace/id 2>/dev/null)
|
||||
fi
|
||||
# 防止环境变量有问题
|
||||
if [[ -z "$CACHE" ]]; then
|
||||
CACHE=$(cat /host/workspace/runc-rootfs/biz-m-arm32-*/config.json | jq -r '.process.env[]' | awk -F = '/CACHE/{print $NF}')
|
||||
|
||||
Reference in New Issue
Block a user