From cc28d66a222f0540953047d81744989ef05e32e2 Mon Sep 17 00:00:00 2001 From: Alex Huszagh Date: Tue, 31 May 2022 19:20:15 -0500 Subject: [PATCH] Redirect ct-ng output to /dev/null. Avoids polluting our CI logs. --- docker/crosstool-ng.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/crosstool-ng.sh b/docker/crosstool-ng.sh index 20885b3ed..16a3078c7 100755 --- a/docker/crosstool-ng.sh +++ b/docker/crosstool-ng.sh @@ -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