File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -436,10 +436,10 @@ if [ -n "${from}" ]; then
436
436
_md5_nover=$(${miscdir}/cbsd_md5 "${_path}")
437
437
if [ "${from_md5}" = "${_md5_ver}" -o "${from_md5}" = "${_md5_nover}" ]; then
438
438
_exec_start=$(${BUILDAH_CMD} --root ${workdir}/basejail/buildah inspect ${_image_id} \
439
- | ${JQ_CMD} -r '.OCIv1.config | (.Env + .Entrypoint + .Cmd) | map("\"" + . + "\"") | join(" ")' \
439
+ | ${JQ_CMD} -r '.OCIv1.config | (.Env + ["sh", "-c"] + [( .Entrypoint + .Cmd + ["&"]) | join(" ")] ) | map("\"" + . + "\"") | join(" ")' \
440
440
)
441
441
442
- jset jname=${jname} exec_start="/bin/env ${_exec_start}" exec_stop="/bin/kill -TERM 1"
442
+ jset jname=${jname} exec_start="/bin/env ${_exec_start}" exec_stop="/bin/kill -TERM - 1"
443
443
break
444
444
fi
445
445
done
You can’t perform that action at this time.
0 commit comments