mirror of
https://github.com/Luzifer/archrepo.git
synced 2024-12-20 13:11:17 +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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue