Merge pull request #1355 from freeipa/fix_container_tee_message

infra/image/shcontainer: Fix log message in container_tee
This commit is contained in:
Thomas Woerner
2025-04-17 14:15:50 +02:00
committed by GitHub

View File

@@ -204,8 +204,8 @@ container_tee() {
local destination=${2}
tmpfile=$(mktemp /tmp/container-temp.XXXXXX)
log info "= Creating ${name}:${filename} from stdin ="
cat - > ${tmpfile}
log info "= Creating ${name}:${destination} from stdin ="
cat - > "${tmpfile}"
podman cp "${tmpfile}" "${name}:${destination}"
rm "${tmpfile}"
echo