From a8038f9a3a55bdbb640e95dc9d429dc992c3f083 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Sat, 29 Jun 2024 21:51:51 +0200 Subject: [PATCH] Fix: Do not print logs, just put them to file Signed-off-by: Knut Ahlers --- scripts/update-all.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/update-all.sh b/scripts/update-all.sh index e5de462..46a5356 100644 --- a/scripts/update-all.sh +++ b/scripts/update-all.sh @@ -85,7 +85,7 @@ function update() { local exitcode=$(docker inspect ${container} | jq -r '.[0].State.ExitCode') if [ $exitcode -gt 0 ]; then local logfile="/tmp/arch-package-build_$(basename ${repo}).log" - docker logs ${container} 2>&1 >${logfile} + docker logs ${container} >${logfile} 2>&1 write_status FAIL ${repo} "Build failed (${exitcode}), see logs at ${logfile}" else write_status SUCCESS ${repo} "Updating cache entry..."