Skip to content

Commit

Permalink
Merge #736
Browse files Browse the repository at this point in the history
736: Redirect ct-ng output to /dev/null. r=Emilgardis a=Alexhuszagh

Avoids polluting our CI logs.

Co-authored-by: Alex Huszagh <ahuszagh@gmail.com>
  • Loading branch information
bors[bot] and Alexhuszagh authored Jun 1, 2022
2 parents 5f4770f + cc28d66 commit 7334412
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/crosstool-ng.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,14 @@ main() {
# work with any bash functions: must call a command.
timeout "${timeout}" \
su "${username}" -c \
"STOP=${step} CT_DEBUG_CT_SAVE_STEPS=1 ${crosstooldir}/bin/ct-ng build.${nproc}"
"STOP=${step} CT_DEBUG_CT_SAVE_STEPS=1 ${crosstooldir}/bin/ct-ng build.${nproc} &> /dev/null"
}

while download; [ $? -eq 124 ]; do
# Indicates a timeout, repeat the command.
sleep "${sleep}"
done
su "${username}" -c "CT_DEBUG_CT_SAVE_STEPS=1 ${crosstooldir}/bin/ct-ng build.${nproc}"
su "${username}" -c "CT_DEBUG_CT_SAVE_STEPS=1 ${crosstooldir}/bin/ct-ng build.${nproc} &> /dev/null"

popd

Expand Down

0 comments on commit 7334412

Please sign in to comment.