mirror of
https://github.com/Luzifer/archrepo.git
synced 2024-09-18 18:22:55 +00:00
Fix: Do not print logs, just put them to file
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
6f0c927c8d
commit
a8038f9a3a
@ -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..."
|
||||
|
Loading…
Reference in New Issue
Block a user