Skip to content

Commit 8da1c00

Browse files
committedAug 31, 2024
ci: Take tail instead of head to avoid broken pipes
1 parent 6cb4768 commit 8da1c00

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed
 

‎src/ci/scripts/dump-environment.sh

+1-3
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ df -h
1515
echo
1616

1717
echo "biggest files in the working dir:"
18-
set +o pipefail
19-
du . | sort -nr | head -n100
20-
set -o pipefail
18+
du . | sort -n | tail -n100 | sort -nr # because piping sort to head gives a broken pipe
2119
echo
2220

2321
if isMacOS

0 commit comments

Comments
 (0)