diff --git a/.github/workflows/scripts/qemu-9-summary-page.sh b/.github/workflows/scripts/qemu-9-summary-page.sh index 2f4c21f99..cae287ac1 100755 --- a/.github/workflows/scripts/qemu-9-summary-page.sh +++ b/.github/workflows/scripts/qemu-9-summary-page.sh @@ -11,10 +11,12 @@ function output() { } function outfile() { + test -s "$1" || return cat "$1" >> "out-$logfile.md" } function outfile_plain() { + test -s "$1" || return output "
" cat "$1" >> "out-$logfile.md" output ""