[openssh-commits] [openssh] 01/03: Fix quoting in failed log output step.

git+noreply at mindrot.org git+noreply at mindrot.org
Mon Aug 17 17:29:01 AEST 2026


This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit 5e8b37c9e36191946dca2375fdb1ad8ddd0ab0f3
Author: Darren Tucker <dtucker at dtucker.net>
AuthorDate: Sun Aug 16 15:30:24 2026 +1000

    Fix quoting in failed log output step.
    
    Only display the last 50 lines to keep log volume down.
---
 .github/workflows/c-cpp.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml
index 676a7cacd..b3e05fe0e 100644
--- a/.github/workflows/c-cpp.yml
+++ b/.github/workflows/c-cpp.yml
@@ -180,7 +180,7 @@ jobs:
       run: sh -c 'SUDO="$(which sudo 2>/dev/null)"; $SUDO chown -R "${LOGNAME}" regress'
     - name: show logs
       if: failure()
-      run: sh -c "for i in regress/failed*.log; do echo ====; echo logfile $i; echo =====; cat $i; done"
+      run: sh -c 'for i in regress/failed*.log; do echo ====; echo logfile $i; echo =====; tail -50 $i; done'
     - name: save logs
       if: failure()
       uses: actions/upload-artifact at 043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # main

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list