mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-12 05:12:37 +00:00
osbuilder: install-yq should not print on success
The caller might rely on the output to determine its failure. Signed-off-by: Peng Tao <bergwolf@hyper.sh>
This commit is contained in:
parent
c624fa7469
commit
65970d3858
@ -63,7 +63,6 @@ function install_yq() {
|
|||||||
curl -o "${yq_path}" -LSsf "${yq_url}"
|
curl -o "${yq_path}" -LSsf "${yq_url}"
|
||||||
[ $? -ne 0 ] && die "Download ${yq_url} failed"
|
[ $? -ne 0 ] && die "Download ${yq_url} failed"
|
||||||
chmod +x "${yq_path}"
|
chmod +x "${yq_path}"
|
||||||
echo "Installed $(${yq_path} --version)"
|
|
||||||
|
|
||||||
if ! command -v "${yq_path}" >/dev/null; then
|
if ! command -v "${yq_path}" >/dev/null; then
|
||||||
die "Cannot not get ${yq_path} executable"
|
die "Cannot not get ${yq_path} executable"
|
||||||
|
Loading…
Reference in New Issue
Block a user