Skip to content
Snippets Groups Projects
Commit 66c0be06 authored by Rafael Guterres Jeffman's avatar Rafael Guterres Jeffman
Browse files

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: default avatarRafael Guterres Jeffman <rjeffman@redhat.com>
parent dfa4bcb6
No related branches found
No related tags found
No related merge requests found
...@@ -204,8 +204,8 @@ container_tee() { ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment