mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-07-31 11:54:47 +00:00
infra/image/shcontainer: Fix log message in container_tee
Fix a log message in function container_tee and quote the temporary filename. Signed-off-by: Rafael Guterres Jeffman <rjeffman@redhat.com>
This commit is contained in:
@@ -204,8 +204,8 @@ container_tee() {
|
|||||||
local destination=${2}
|
local destination=${2}
|
||||||
tmpfile=$(mktemp /tmp/container-temp.XXXXXX)
|
tmpfile=$(mktemp /tmp/container-temp.XXXXXX)
|
||||||
|
|
||||||
log info "= Creating ${name}:${filename} from stdin ="
|
log info "= Creating ${name}:${destination} from stdin ="
|
||||||
cat - > ${tmpfile}
|
cat - > "${tmpfile}"
|
||||||
podman cp "${tmpfile}" "${name}:${destination}"
|
podman cp "${tmpfile}" "${name}:${destination}"
|
||||||
rm "${tmpfile}"
|
rm "${tmpfile}"
|
||||||
echo
|
echo
|
||||||
|
|||||||
Reference in New Issue
Block a user